Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for mybytes (0.12 sec)

  1. src/internal/types/testdata/check/typeparams.go

    type myByte1 []byte
    type myByte2 []byte
    func _[T interface{ []byte | myByte1 | myByte2 }] (x T, i, j, k int) { var _ T = x[i:j:k] }
    func _[T interface{ []byte | myByte1 | []int }] (x T, i, j, k int) { var _ T = x /* ERROR "no core type" */ [i:j:k] }
    
    func _[T interface{ []byte | myByte1 | myByte2 | string }] (x T, i, j, k int) { var _ T = x[i:j] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Bytes.java

    /**
     * Static utility methods pertaining to {@code byte} primitives, that are not already found in
     * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>.
     * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes}
     * and {@link UnsignedBytes}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

    /**
     * Static utility methods pertaining to {@code byte} primitives, that are not already found in
     * either {@link Byte} or {@link Arrays}, <i>and interpret bytes as neither signed nor unsigned</i>.
     * The methods which specifically treat bytes as signed or unsigned are found in {@link SignedBytes}
     * and {@link UnsignedBytes}.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        byte[] original = hash.asBytes();
        byte[] mutated = hash.asBytes();
        mutated[0]++;
        assertTrue(Arrays.equals(original, hash.asBytes()));
      }
    
      private static void assertReadableBytes(HashCode hashCode) {
        assertTrue(hashCode.bits() >= 32); // sanity
        byte[] hashBytes = hashCode.asBytes();
        int totalBytes = hashCode.bits() / 8;
    
        for (int bytes = 0; bytes < totalBytes; bytes++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/iimport.go

    	case types.Int32, types.Uint32:
    		maxBytes = 4
    	default:
    		maxBytes = 8
    	}
    
    	return
    }
    
    func (r *importReader) mpint(x *big.Int, typ *types.Basic) {
    	signed, maxBytes := intSize(typ)
    
    	maxSmall := 256 - maxBytes
    	if signed {
    		maxSmall = 256 - 2*maxBytes
    	}
    	if maxBytes == 1 {
    		maxSmall = 256
    	}
    
    	n, _ := r.declReader.ReadByte()
    	if uint(n) < maxSmall {
    		v := int64(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    	if authenticationInfo.ClientCA != nil {
    		if caBytes := authenticationInfo.ClientCA.CurrentCABundleContent(); len(caBytes) > 0 {
    			data["client-ca-file"] = string(caBytes)
    		}
    	}
    
    	if authenticationInfo.RequestHeaderCA == nil {
    		return data, nil
    	}
    
    	if caBytes := authenticationInfo.RequestHeaderCA.CurrentCABundleContent(); len(caBytes) > 0 {
    		var err error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. 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)
  8. pkg/volume/util/fsquota/quota_linux.go

    		}
    		// When enforcing quotas are enabled, we'll condition this
    		// on their being disabled also.
    		fsbytes := ibytes
    		if fsbytes > 0 {
    			fsbytes = -1
    		}
    		if err = setQuotaOnDir(path, id, fsbytes); err == nil {
    			quotaPodMap[id] = internalPodUid
    			quotaSizeMap[id] = ibytes
    			podQuotaMap[internalPodUid] = id
    			dirQuotaMap[path] = id
    			dirPodMap[path] = internalPodUid
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  9. src/crypto/tls/key_schedule_test.go

    			c := cipherSuitesTLS13[0]
    			if got := c.extract(tt.args.newSecret, tt.args.currentSecret); !bytes.Equal(got, tt.want) {
    				t.Errorf("cipherSuiteTLS13.extract() = % x, want % x", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestKyberDecapsulate(t *testing.T) {
    	// From https://pq-crystals.org/kyber/data/kyber-submission-nist-round3.zip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. src/bytes/buffer_test.go

    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(b[n:], r)
    		nbytes, err := buf.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(%U) error: %s", r, err)
    		}
    		if nbytes != size {
    			t.Fatalf("WriteRune(%U) expected %d, got %d", r, size, nbytes)
    		}
    		n += size
    	}
    	b = b[0:n]
    
    	// Check the resulting bytes
    	if !Equal(buf.Bytes(), b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top