Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 560 for parseRhs (0.32 sec)

  1. src/encoding/csv/fuzz_test.go

    			}
    
    			// The reader turns \r\n into \n.
    			for _, record := range records {
    				for i, s := range record {
    					record[i] = strings.ReplaceAll(s, "\r\n", "\n")
    				}
    			}
    			// Note that the reader parses the quoted record "" as an empty string,
    			// and the writer turns that into an empty line, which the reader skips over.
    			// Filter those out to avoid false positives.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 01:26:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. internal/crypto/header.go

    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKey]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKeyMD5]; ok {
    		return true
    	}
    	return false
    }
    
    // ParseHTTP parses the SSE-C copy headers and returns the SSE-C client key
    // on success. Regular SSE-C headers are ignored.
    func (ssecCopy) ParseHTTP(h http.Header) (key [32]byte, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/log/slog/slogtest_test.go

    	return records, nil
    }
    
    func parseJSON(bs []byte) (map[string]any, error) {
    	var m map[string]any
    	if err := json.Unmarshal(bs, &m); err != nil {
    		return nil, err
    	}
    	return m, nil
    }
    
    // parseText parses the output of a single call to TextHandler.Handle.
    // It can parse the output of the tests in this package,
    // but it doesn't handle quoted keys or values.
    // It doesn't need to handle all cases, because slogtest deliberately
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:50:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/language/language.go

    type Extension struct {
    	s string
    }
    
    // String returns the string representation of the extension, including the
    // type tag.
    func (e Extension) String() string {
    	return e.s
    }
    
    // ParseExtension parses s as an extension and returns it on success.
    func ParseExtension(s string) (e Extension, err error) {
    	ext, err := language.ParseExtension(s)
    	return Extension{ext}, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/container_manager.go

    	HardEvictionThresholds   []evictionapi.Threshold
    }
    
    type Status struct {
    	// Any soft requirements that were unsatisfied.
    	SoftRequirements error
    }
    
    // parsePercentage parses the percentage string to numeric value.
    func parsePercentage(v string) (int64, error) {
    	if !strings.HasSuffix(v, "%") {
    		return 0, fmt.Errorf("percentage expected, got '%s'", v)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

        private Map<String, CommandLineOption> optionsByString = new HashMap<String, CommandLineOption>();
        private boolean allowMixedOptions;
        private boolean allowUnknownOptions;
    
        /**
         * Parses the given command-line.
         *
         * @param commandLine The command-line.
         * @return The parsed command line.
         * @throws org.gradle.cli.CommandLineArgumentException
         *          On parse failure.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. pkg/test/framework/label/filter.go

    	return Selector{
    		present: NewSet(present...),
    		absent:  NewSet(absent...),
    	}
    }
    
    var userLabelRegex = regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9_]*(\.[a-zA-Z0-9_]+)*$`)
    
    // ParseSelector parses and returns a new instance of Selector.
    func ParseSelector(s string) (Selector, error) {
    	var present, absent []Instance
    
    	parts := strings.Split(s, ",")
    	for _, p := range parts {
    		if len(p) == 0 {
    			continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/util/util.go

    	"istio.io/istio/pkg/file"
    )
    
    var k8sInCluster = env.Register("KUBERNETES_SERVICE_HOST", "",
    	"Kubernetes service host, set automatically when running in-cluster")
    
    // ParseCertAndGetExpiryTimestamp parses the first certificate in certByte and returns cert expire
    // time, or return error if fails to parse certificate.
    func ParseCertAndGetExpiryTimestamp(certByte []byte) (time.Time, error) {
    	block, _ := pem.Decode(certByte)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 10:33:38 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/test_base.h

            tf_saved_model::TensorFlowSavedModelDialect,
            tf_executor::TensorFlowExecutorDialect, quant::QuantizationDialect,
            quantfork::QuantizationForkDialect>();
      }
    
      // Parses `module_op_str` to create a `ModuleOp`.
      OwningOpRef<ModuleOp> ParseModuleOpString(
          const absl::string_view module_op_str) {
        return parseSourceString<ModuleOp>(module_op_str, ctx_.get());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/os/user/user.go

    Package user allows user account lookups by name or id.
    
    For most Unix systems, this package has two internal implementations of
    resolving user and group ids to names, and listing supplementary group IDs.
    One is written in pure Go and parses /etc/passwd and /etc/group. The other
    is cgo-based and relies on the standard C library (libc) routines such as
    getpwuid_r, getgrnam_r, and getgrouplist.
    
    When cgo is available, and the required routines are implemented in libc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top