Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for AsBytes (0.19 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformReplacerTest.groovy

                entry("Foo.class", INSTRUMENTED_CLASS)
                entry(MarkerResource.RESOURCE_NAME, MarkerResource.TRANSFORMED.asBytes())
    
                versionedEntry(currentJvmMajor, "Foo.class", INSTRUMENTED_VERSIONED_CLASS)
                versionedEntry(currentJvmMajor + 1, MarkerResource.RESOURCE_NAME, MarkerResource.NOT_TRANSFORMED.asBytes())
            }
    
            TransformedClassPath cp = classPath((original): transformed)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

         * If some versioned directories of the JAR haven't been processed, then these directories must contain presiding (overriding) resource with the same name but with
         * {@code NOT_TRANSFORMED.asBytes()} as body.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/database/sql/convert.go

    			reflect.Float32, reflect.Float64:
    			*d = asString(src)
    			return nil
    		}
    	case *[]byte:
    		sv = reflect.ValueOf(src)
    		if b, ok := asBytes(nil, sv); ok {
    			*d = b
    			return nil
    		}
    	case *RawBytes:
    		sv = reflect.ValueOf(src)
    		if b, ok := asBytes(rows.rawbuf(), sv); ok {
    			*d = rows.setrawbuf(b)
    			return nil
    		}
    	case *bool:
    		bv, err := driver.Bool.ConvertValue(src)
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Hashing.java

       * cryptographically secure, but it produces a high-quality hash with fewer collisions than some
       * alternatives we've used in the past.
       *
       * <p>FarmHash fingerprints are encoded by {@link HashCode#asBytes} in little-endian order. This
       * means {@link HashCode#asLong} is guaranteed to return the same value that
       * farmhash::Fingerprint64() would for the same input (when compared using {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            "asText.map(String::toBoolean).getOrElse(false)"          | "text"
            "asText.isPresent"                                        | "text presence"
            "asBytes.map { String(it).toBoolean() }.getOrElse(false)" | "bytes"
            "asBytes.isPresent"                                       | "bytes presence"
        }
    
        def "mapped file contents used as task input"() {
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       * cryptographically secure, but it produces a high-quality hash with fewer collisions than some
       * alternatives we've used in the past.
       *
       * <p>FarmHash fingerprints are encoded by {@link HashCode#asBytes} in little-endian order. This
       * means {@link HashCode#asLong} is guaranteed to return the same value that
       * farmhash::Fingerprint64() would for the same input (when compared using {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  7. src/net/sendfile_test.go

    			// Return file data using io.Copy, which should use
    			// sendFile if available.
    			var sbytes int64
    			switch runtime.GOOS {
    			case "windows":
    				// Windows is not using sendfile for some reason:
    				// https://go.dev/issue/67042
    				sbytes, err = io.Copy(conn, f)
    			default:
    				expectSendfile(t, conn, func() {
    					sbytes, err = io.Copy(conn, f)
    				})
    			}
    			if err != nil {
    				errc <- err
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/crypto/ecdsa/ecdsa_legacy.go

    		return false
    	}
    	return VerifyASN1(pub, hash, sig)
    }
    
    func verifyLegacy(pub *PublicKey, hash []byte, sig []byte) bool {
    	rBytes, sBytes, err := parseSignature(sig)
    	if err != nil {
    		return false
    	}
    	r, s := new(big.Int).SetBytes(rBytes), new(big.Int).SetBytes(sBytes)
    
    	c := pub.Curve
    	N := c.Params().N
    
    	if r.Sign() <= 0 || s.Sign() <= 0 {
    		return false
    	}
    	if r.Cmp(N) >= 0 || s.Cmp(N) >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/crypto/ecdsa/ecdsa.go

    	default:
    		return verifyLegacy(pub, hash, sig)
    	}
    }
    
    func verifyNISTEC[Point nistPoint[Point]](c *nistCurve[Point], pub *PublicKey, hash, sig []byte) bool {
    	rBytes, sBytes, err := parseSignature(sig)
    	if err != nil {
    		return false
    	}
    
    	Q, err := c.pointFromAffine(pub.X, pub.Y)
    	if err != nil {
    		return false
    	}
    
    	// SEC 1, Version 2.0, Section 4.1.4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update.go

    // recorded patches.
    func getPatch(ds *apps.DaemonSet) ([]byte, error) {
    	dsBytes, err := json.Marshal(ds)
    	if err != nil {
    		return nil, err
    	}
    	var raw map[string]interface{}
    	err = json.Unmarshal(dsBytes, &raw)
    	if err != nil {
    		return nil, err
    	}
    	objCopy := make(map[string]interface{})
    	specCopy := make(map[string]interface{})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top