Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,615 for Parses (0.22 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReaderTest.groovy

            e.cause.message == "Invalid dependency verification metadata file: <component> must be found under the <components> tag"
        }
    
        def "parses configuration (metadata=#verifyMetadata, signatures=#verifySignatures)"() {
            when:
            parse """<?xml version="1.0" encoding="UTF-8"?>
    <verification-metadata>
       <configuration>
          <verify-metadata>$verifyMetadata</verify-metadata>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/language.go

    // Make is a convenience wrapper for Parse that omits the error.
    // In case of an error, a sensible default is returned.
    func Make(s string) Tag {
    	return Default.Make(s)
    }
    
    // Make is a convenience wrapper for c.Parse that omits the error.
    // In case of an error, a sensible default is returned.
    func (c CanonType) Make(s string) Tag {
    	t, _ := c.Parse(s)
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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. src/log/slog/slogtest_test.go

    			continue
    		}
    		m, err := parse(line)
    		if err != nil {
    			return nil, fmt.Errorf("%s: %w", string(line), err)
    		}
    		records = append(records, m)
    	}
    	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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:50:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. pkg/kubelet/types/types.go

    	parsed, _ := time.Parse(logs.RFC3339NanoLenient, timeString)
    	return &Timestamp{parsed}
    }
    
    // Get returns the time as time.Time.
    func (t *Timestamp) Get() time.Time {
    	return t.time
    }
    
    // GetString returns the time in the string format using the RFC3339NanoFixed
    // layout.
    func (t *Timestamp) GetString() string {
    	return t.time.Format(logs.RFC3339NanoFixed)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. security/pkg/nodeagent/util/util.go

    )
    
    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)
    	if block == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 10:33:38 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/test_base.h

    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/OwningOpRef.h"  // from @llvm-project
    #include "mlir/Parser/Parser.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "stablehlo/dialect/StablehloOps.h"  // from @stablehlo
    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top