Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 933 for Parses (0.21 sec)

  1. src/go/types/gotype.go

    	}
    	if *printAST {
    		sequential = true
    	}
    	if *printTrace {
    		parserMode |= parser.Trace
    		sequential = true
    	}
    	if *parseComments && (*printAST || *printTrace) {
    		parserMode |= parser.ParseComments
    	}
    }
    
    const usageString = `usage: gotype [flags] [path ...]
    
    The gotype command, like the front-end of a Go compiler, parses and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. internal/arn/arn.go

    			arn.Partition,
    			arn.Service,
    			arn.Region,
    			"", // account-id is always empty in this implementation
    			arn.ResourceType + "/" + arn.ResourceID,
    		},
    		":",
    	)
    }
    
    // Parse - parses an ARN string into a type.
    func Parse(arnStr string) (arn ARN, err error) {
    	ps := strings.Split(arnStr, ":")
    	if len(ps) != 6 || ps[0] != string(arnPrefixArn) {
    		err = errors.New("invalid ARN string format")
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/util/internal/JarUtil.java

            return jarEntryName.equals(JarFile.MANIFEST_NAME);
        }
    
        /**
         * Parses Manifest from a byte array.
         * @param content the bytes of the manifest
         * @return the Manifest
         * @throws IOException if the manifest cannot be parsed
         */
        public static Manifest readManifest(byte[] content) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 07 19:17:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. 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)
  5. operator/pkg/util/util.go

    			}
    			fileList = append(fileList, path)
    			return nil
    		})
    		if err != nil {
    			return nil, err
    		}
    	} else {
    		fileList = append(fileList, path)
    	}
    	return fileList, nil
    }
    
    // ParseValue parses string into a value
    func ParseValue(valueStr string) any {
    	var value any
    	if v, err := strconv.Atoi(valueStr); err == nil {
    		value = v
    	} else if v, err := strconv.ParseFloat(valueStr, 64); err == nil {
    		value = v
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 02 13:01:43 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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