diff --git "a/train/github-03-6929175.jsonl" "b/train/github-03-6929175.jsonl" new file mode 100644--- /dev/null +++ "b/train/github-03-6929175.jsonl" @@ -0,0 +1,1045 @@ +{"text": "package alidns\n\n//Licensed under the Apache License, Version 2.0 (the \"License\");\n//you may not use this file except in compliance with the License.\n//You may obtain a copy of the License at\n//\n//http://www.apache.org/licenses/LICENSE-2.0\n//\n//Unless required by applicable law or agreed to in writing, software\n//distributed under the License is distributed on an \"AS IS\" BASIS,\n//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n//See the License for the specific language governing permissions and\n//limitations under the License.\n//\n// Code generated by Alibaba Cloud SDK Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport (\n\t\"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests\"\n\t\"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses\"\n)\n\n// TagResources invokes the alidns.TagResources API synchronously\n// api document: https://help.aliyun.com/api/alidns/tagresources.html\nfunc (client *Client) TagResources(request *TagResourcesRequest) (response *TagResourcesResponse, err error) {\n\tresponse = CreateTagResourcesResponse()\n\terr = client.DoAction(request, response)\n\treturn\n}\n\n// TagResourcesWithChan invokes the alidns.TagResources API asynchronously\n// api document: https://help.aliyun.com/api/alidns/tagresources.html\n// asynchronous document: https://help.aliyun.com/document_detail/66220.html\nfunc (client *Client) TagResourcesWithChan(request *TagResourcesRequest) (<-chan *TagResourcesResponse, <-chan error) {\n\tresponseChan := make(chan *TagResourcesResponse, 1)\n\terrChan := make(chan error, 1)\n\terr := client.AddAsyncTask(func() {\n\t\tdefer close(responseChan)\n\t\tdefer close(errChan)\n\t\tresponse, err := client.TagResources(request)\n\t\tif err != nil {\n\t\t\terrChan <- err\n\t\t} else {\n\t\t\tresponseChan <- response\n\t\t}\n\t})\n\tif err != nil {\n\t\terrChan <- err\n\t\tclose(responseChan)\n\t\tclose(errChan)\n\t}\n\treturn responseChan, errChan\n}\n\n// TagResourcesWithCallback invokes the alidns.TagResources API asynchronously\n// api document: https://help.aliyun.com/api/alidns/tagresources.html\n// asynchronous document: https://help.aliyun.com/document_detail/66220.html\nfunc (client *Client) TagResourcesWithCallback(request *TagResourcesRequest, callback func(response *TagResourcesResponse, err error)) <-chan int {\n\tresult := make(chan int, 1)\n\terr := client.AddAsyncTask(func() {\n\t\tvar response *TagResourcesResponse\n\t\tvar err error\n\t\tdefer close(result)\n\t\tresponse, err = client.TagResources(request)\n\t\tcallback(response, err)\n\t\tresult <- 1\n\t})\n\tif err != nil {\n\t\tdefer close(result)\n\t\tcallback(nil, err)\n\t\tresult <- 0\n\t}\n\treturn result\n}\n\n// TagResourcesRequest is the request struct for api TagResources\ntype TagResourcesRequest struct {\n\t*requests.RpcRequest\n\tResourceId *[]string `position:\"Query\" name:\"ResourceId\" type:\"Repeated\"`\n\tResourceType string `position:\"Query\" name:\"ResourceType\"`\n\tUserClientIp string `position:\"Query\" name:\"UserClientIp\"`\n\tTag *[]TagResourcesTag `position:\"Query\" name:\"Tag\" type:\"Repeated\"`\n\tLang string `position:\"Query\" name:\"Lang\"`\n\tOverWrite requests.Boolean `position:\"Query\" name:\"OverWrite\"`\n}\n\n// TagResourcesTag is a repeated param struct in TagResourcesRequest\ntype TagResourcesTag struct {\n\tValue string `name:\"Value\"`\n\tKey string `name:\"Key\"`\n}\n\n// TagResourcesResponse is the response struct for api TagResources\ntype TagResourcesResponse struct {\n\t*responses.BaseResponse\n\tRequestId string `json:\"RequestId\" xml:\"RequestId\"`\n}\n\n// CreateTagResourcesRequest creates a request to invoke TagResources API\nfunc CreateTagResourcesRequest() (request *TagResourcesRequest) {\n\trequest = &TagResourcesRequest{\n\t\tRpcRequest: &requests.RpcRequest{},\n\t}\n\trequest.InitWithApiInfo(\"Alidns\", \"2015-01-09\", \"TagResources\", \"alidns\", \"openAPI\")\n\treturn\n}\n\n// CreateTagResourcesResponse creates a response to parse from TagResources response\nfunc CreateTagResourcesResponse() (response *TagResourcesResponse) {\n\tresponse = &TagResourcesResponse{\n\t\tBaseResponse: &responses.BaseResponse{},\n\t}\n\treturn\n}\n"} +{"text": "\n\n
\n"} +{"text": "fileFormatVersion: 2\nguid: 48d55aa41e71c794487ce3bef63001e9\nAssemblyDefinitionImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: \n"} +{"text": "\nSee: Description
\nClass | \nDescription | \n
---|---|
NativeBinariesTestPlugin | \n\n A plugin that sets up the infrastructure for testing native binaries. \n | \n
GET /api/audits/980190962\n200\n{\n "user_id": null,\n "user_type": null,\n "user_name": null,\n "version": 1,\n "comment": null,\n "associated_id": 272,\n "associated_type": "Host",\n "remote_address": null,\n "associated_name": null,\n "created_at": "2009-12-14 08:01:17 UTC",\n "id": 980190962,\n "auditable_id": 980190962,\n "auditable_name": null,\n "auditable_type": "Host",\n "action": "update",\n "audited_changes": {\n "architecture_id": [\n 10463,\n 10466\n ]\n },\n "locations": [],\n "organizations": []\n}\n\n
Param Name | \nDescription | \n
---|---|
\n location_id \n \n Optional\n \n \n | \n \n \n Set the current location context for the request \n\nValidations: \n
| \n\n
\n organization_id \n \n Optional\n \n \n | \n \n \n Set the current organization context for the request \n\nValidations: \n
| \n\n
\n id \n \n Required\n \n \n | \n \n \n Validations: \n
| \n\n
\n\t\t\t\t#\n\t\t\t | \n\t\t\t\n\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t\t\t \n\n\t\t\t\trenderSourceCode($trace['file'],$trace['line'],$this->maxTraceSourceLines); ?>\n\t\t\t+ \n\t\t\t\t\t\t– \n\t\t\t\t\t\n\t\t\t\t\t{$trace['class']}{$trace['type']}\";\n\t\t\t\t\t\techo \"{$trace['function']}(\";\n\t\t\t\t\t\tif(!empty($trace['args']))\n\t\t\t\t\t\t\techo CHtml::encode($this->argumentsToString($trace['args']));\n\t\t\t\t\t\techo ')';\n\t\t\t\t\t?>\n\t\t\t\t | \n\t\t