Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for arg (0.16 sec)

  1. cmd/metrics-v3-types.go

    //		/abc or /abd/a are not descendants of /ab.
    func (cp collectorPath) isDescendantOf(arg string) bool {
    	descendant := string(cp)
    	if descendant == arg {
    		return true
    	}
    	if len(arg) >= len(descendant) {
    		return false
    	}
    	if !strings.HasSuffix(arg, "/") {
    		arg += "/"
    	}
    	return strings.HasPrefix(descendant, arg)
    }
    
    // MetricType - represents the type of a metric.
    type MetricType int
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      if (!status->status.ok()) return nullptr;
    
      if (input_index >= op_def->input_arg_size() || input_index < 0) {
        status->status = tensorflow::errors::InvalidArgument(
            input_index, " out of range for ", op_name);
        return nullptr;
      }
    
      const tensorflow::OpDef_ArgDef& input_arg = op_def->input_arg()[input_index];
    
      if (input_arg.number_attr().empty()) {
        status->status = tensorflow::errors::NotFound(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                                val resultMap = mutableMapOf<Name, FirExpression>()
                                resolvedArgumentMapping?.entries?.forEach { (arg, param) ->
                                    resultMap[param.name] = arg
                                }
    
                                KtAnnotationApplicationValue(
                                    KtAnnotationApplicationWithArgumentsInfo(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			accessKey:                  arg.SvcAcctAccessKey,
    			secretKey:                  arg.SvcAcctSecretKey,
    			allowSiteReplicatorAccount: arg.SvcAcctAccessKey == siteReplicatorSvcAcc,
    		})
    	}
    	if err != nil {
    		return errSRServiceAccount(fmt.Errorf("unable to create service account on %s: %v", ourName, err))
    	}
    
    	peers := make(map[string]madmin.PeerInfo, len(arg.Peers))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. fastapi/utils.py

                    "required": required,
                    "model_config": model_config,
                    "alias": alias,
                }
            )
        try:
            return ModelField(**kwargs)  # type: ignore[arg-type]
        except (RuntimeError, PydanticSchemaGenerationError):
            raise fastapi.exceptions.FastAPIError(
                "Invalid args for response field! Hint: "
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/path-params-numeric-validations.md

    Передайте `*` в качестве первого параметра функции.
    
    Python не будет ничего делать с `*`, но он будет знать, что все следующие параметры являются именованными аргументами (парами ключ-значение), также известными как <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>, даже если у них нет значений по умолчанию.
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params_numeric_validations/tutorial003.py!}
    ```
    
    ### Лучше с `Annotated`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. Makefile

    docker-hotfix: hotfix-push checks ## builds minio docker container with hotfix tags
    	@echo "Building minio docker image '$(TAG)'"
    	@docker build -q --no-cache -t $(TAG) --build-arg RELEASE=$(VERSION) . -f Dockerfile.hotfix
    
    docker: build ## builds minio docker container
    	@echo "Building minio docker image '$(TAG)'"
    	@docker build -q --no-cache -t $(TAG) . -f Dockerfile
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  8. cni/README.md

            - does not have DISABLE_ENVOY environment variable (which triggers proxyless mode)
            - has a istio-proxy container, with first 2 args "proxy" and "sidecar" - or less then 2 args, or first arg not proxy.
            - "sidecar.istio.io/inject" is not false
            - "sidecar.istio.io/status" exists
    
    ### Redirect API
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		if !(strings.Contains(poolsArgs, "{") && strings.Contains(poolsArgs, "}")) {
    			// No ellipses pattern. Anonymize host name from every pool arg
    			pools := strings.Fields(poolsArgs)
    			anonPools = make([]string, len(pools))
    			for index, arg := range pools {
    				anonPools[index] = anonAddr(arg)
    			}
    			return cmdLineWithoutPools + strings.Join(anonPools, " ")
    		}
    
    		// Ellipses pattern in pool args. Regex groups:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  10. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_CANCELLED, TF_GetCode(s));
      EXPECT_EQ(string("cancel"), TF_Message(s));
      TF_DeleteStatus(s);
    }
    
    void Deallocator(void* data, size_t, void* arg) {
      tensorflow::cpu_allocator()->DeallocateRaw(data);
      *reinterpret_cast<bool*>(arg) = true;
    }
    
    TEST(CAPI, Tensor) {
      const int num_bytes = 6 * sizeof(float);
      float* values =
          reinterpret_cast<float*>(tensorflow::cpu_allocator()->AllocateRaw(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top