Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 172 for arg (0.24 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. fastapi/security/api_key.py

                    parameter or in an HTTP Bearer token).
                    """
                ),
            ] = True,
        ):
            self.model: APIKey = APIKey(
                **{"in": APIKeyIn.query},  # type: ignore[arg-type]
                name=name,
                description=description,
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 23 22:29:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. statement.go

    			}
    		}
    	}
    
    	conds := make([]clause.Expression, 0, 4)
    	args = append([]interface{}{query}, args...)
    	for idx, arg := range args {
    		if arg == nil {
    			continue
    		}
    		if valuer, ok := arg.(driver.Valuer); ok {
    			arg, _ = valuer.Value()
    		}
    
    		switch v := arg.(type) {
    		case clause.Expression:
    			conds = append(conds, v)
    		case *DB:
    			v.executeScopes()
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
      private static <T> T expectArgument(Class<T> type, Object arg) {
        try {
          return type.cast(arg);
        } catch (ClassCastException e) {
          throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName());
        }
      }
    
      /** A TypeTable maintains mapping from {@link TypeVariable} to types. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/message/MessageFormatter.java

            if (args == null || args.length == 0) {
                return "";
            }
            final StringBuilder buffer = new StringBuilder();
            for (final Object arg : args) {
                buffer.append(arg + ", ");
            }
            buffer.setLength(buffer.length() - ", ".length());
            return new String(buffer);
        }
    
        /**
         * 初期化します。
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          Parameter param = params.get(i);
          Object arg = args.get(i);
          // Use new fresh value generator because 'args' were populated with new fresh generator each.
          // Two newFreshValueGenerator() instances should normally generate equal value sequence.
          Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
          if (arg != shouldBeEqualArg
              && Objects.equal(arg, shouldBeEqualArg)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/MethodUtil.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append(methodName).append("(");
            if (methodArgs != null && methodArgs.length > 0) {
                for (final Object arg : methodArgs) {
                    buf.append(arg == null ? null : arg.getClass().getName()).append(", ");
                }
                buf.setLength(buf.length() - 2);
            }
            buf.append(")");
            return buf.toString();
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. ci/official/envs/linux_x86

    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow_cpu"
    TFCI_DOCKER_ENABLE=1
    TFCI_DOCKER_IMAGE=tensorflow/build:2.16-python${TFCI_PYTHON_VERSION}
    TFCI_DOCKER_PULL_ENABLE=1
    TFCI_DOCKER_REBUILD_ARGS="--build-arg PYTHON_VERSION=python$TFCI_PYTHON_VERSION --target=devel tensorflow/tools/tf_sig_build_dockerfiles"
    TFCI_INDEX_HTML_ENABLE=1
    TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
    TFCI_OUTPUT_DIR=build_output
    TFCI_WHL_AUDIT_ENABLE=1
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 23:12:40 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. common/config/tslint.json

        "extends": [
            "tslint:recommended"
        ],
        "rules": {
            "max-line-length": {
                "options": [160]
            },
            "arrow-parens": false,
            "new-parens": true,
            "no-arg": true,
            "no-bitwise": true,
            "no-conditional-assignment": true,
            "no-consecutive-blank-lines": true,
            "no-console": {
                "severity": "warning",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Sep 11 23:32:21 GMT 2019
    - 631 bytes
    - Viewed (0)
  10. fastapi/dependencies/utils.py

            type_annotation = annotated_args[0]
            fastapi_annotations = [
                arg
                for arg in annotated_args[1:]
                if isinstance(arg, (FieldInfo, params.Depends))
            ]
            fastapi_specific_annotations = [
                arg
                for arg in fastapi_annotations
                if isinstance(arg, (params.Param, params.Body, params.Depends))
            ]
            if fastapi_specific_annotations:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
Back to top