Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,885 for Parses (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/pathelement.go

    	Index = "i"
    
    	// Key indicates that the content of this path element is a key value map
    	Key = "k"
    
    	// Separator separates the type of a path element from the contents
    	Separator = ":"
    )
    
    // NewPathElement parses a serialized path element
    func NewPathElement(s string) (fieldpath.PathElement, error) {
    	split := strings.SplitN(s, Separator, 2)
    	if len(split) < 2 {
    		return fieldpath.PathElement{}, fmt.Errorf("missing colon: %v", s)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyStringNotationConverterTest.groovy

            !d.force
            d.artifacts.size() == 0
        }
    
        def "parses short hand-notation #notation for strict dependencies"() {
            def parser = new DependencyStringNotationConverter(TestUtil.instantiatorFactory().decorateLenient(), DefaultClientModule, SimpleMapInterner.notThreadSafe());
    
            when:
            def d = parse(parser, "org.foo:bar:$notation")
    
            then:
            d instanceof ExternalModuleDependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

            def process = ['readelf', '-s', binaryFile.absolutePath].execute()
            def lines = process.inputStream.readLines()
            return readSymbols(lines)
        }
    
        /**
         * This parses the command-line output of readelf -s and extracts all FILE symbols.
         *
         * @return list of symbols representing the source files included in the binary
         */
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc

      }
    }
    
    // Parses a text proto into a `QuantizationSpecs` proto. Returns
    // `InvalidArgumentError` if `text_proto` is invalid.
    absl::StatusOr<QuantizationSpecs> ParseTextProto(
        const absl::string_view text_proto) {
      QuantizationSpecs quantization_specs;
      TextFormat::Parser parser;
      ArrayInputStream input_stream(text_proto.data(), text_proto.size());
      if (parser.Parse(&input_stream, &quantization_specs)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy

            parser.option('long-option-a')
            parser.option('long-option-b')
    
            expect:
            def result = parser.parse(['--long-option-a'])
            result.hasOption('long-option-a')
            !result.hasOption('long-option-b')
        }
    
        def canUseSingleDashForLongOptions() {
            parser.option('long')
            parser.option('other').hasArgument()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/versions/gover.go

    func lang(x string) string {
    	v := parse(x)
    	if v.minor == "" || v.major == "1" && v.minor == "0" {
    		return v.major
    	}
    	return v.major + "." + v.minor
    }
    
    // isValid reports whether the version x is valid.
    func isValid(x string) bool {
    	return parse(x) != gover{}
    }
    
    // parse parses the Go version string x into a version.
    // It returns the zero version if x is malformed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. pkg/kube/inject/openshift.go

    		return "", fmt.Errorf("unable to find groups using %s and %s annotations", securityv1.SupplementalGroupsAnnotation, securityv1.UIDRangeAnnotation)
    	}
    	return groups, nil
    }
    
    // parseSupplementalGroupAnnotation parses the group annotation into blocks.
    func parseSupplementalGroupAnnotation(groups string) ([]Block, error) {
    	blocks := []Block{}
    	segments := strings.Split(groups, ",")
    	for _, segment := range segments {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 19:10:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/codegen.h

    Status GenerateHeader(const CodegenOpts& opts, const tf2xla::Config& config,
                          const CompileResult& compile_result,
                          const MetadataResult& metadata_result, string* header);
    
    // ParseCppClass parses `cpp_class` into its `class_name` and `namespaces`
    // components.  The syntax is [[<optional_namespace>::],...]<class_name>.  This
    // mirrors the C++ syntax for referring to a class, where multiple namespaces
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 01 22:03:27 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/parser.go

    			// need to parse a full expression. Notably, name <- x
    			// is not a concern because name <- x is a statement and
    			// not an expression.
    			var x Expr = p.name()
    			if p.tok != _Lbrack {
    				// To parse the expression starting with name, expand
    				// the call sequence we would get by passing in name
    				// to parser.expr, and pass in name to parser.pexpr.
    				p.xnest++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  10. internal/bucket/replication/destination.go

    	if !d.IsValid() {
    		return Errorf("invalid destination")
    	}
    
    	if !wildcard.Match(d.Bucket, bucketName) {
    		return Errorf("bucket name does not match")
    	}
    	return nil
    }
    
    // parseDestination - parses string to Destination.
    func parseDestination(s string) (Destination, error) {
    	if !strings.HasPrefix(s, DestinationARNPrefix) && !strings.HasPrefix(s, DestinationARNMinIOPrefix) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top