Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for mybytes (0.17 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/libfuzzer1.go

    package main
    
    import "C"
    
    import "unsafe"
    
    //export LLVMFuzzerTestOneInput
    func LLVMFuzzerTestOneInput(p unsafe.Pointer, sz C.int) C.int {
    	b := C.GoBytes(p, sz)
    	if len(b) >= 6 && b[0] == 'F' && b[1] == 'u' && b[2] == 'z' && b[3] == 'z' && b[4] == 'M' && b[5] == 'e' {
    		panic("found it")
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 321 bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue51229.go

    func f21[E2 ~byte, S2 ~[]E2, E1 ~byte, S1 ~[]E1](S1, S2) {}
    func f22[E1 ~byte, S2 ~[]E2, E2 ~byte, S1 ~[]E1](S1, S2) {}
    func f23[S2 ~[]E2, E1 ~byte, E2 ~byte, S1 ~[]E1](S1, S2) {}
    
    type myByte byte
    
    func _(a []byte, b []myByte) {
    	f00(a, b)
    	f01(a, b)
    	f02(a, b)
    	f03(a, b)
    	f04(a, b)
    	f05(a, b)
    	f06(a, b)
    	f07(a, b)
    	f08(a, b)
    	f09(a, b)
    	f10(a, b)
    	f11(a, b)
    	f12(a, b)
    	f13(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/runtime/linkname.go

    //go:linkname write
    
    // used by cgo
    //go:linkname _cgo_panic_internal
    //go:linkname cgoAlwaysFalse
    //go:linkname cgoUse
    //go:linkname cgoCheckPointer
    //go:linkname cgoCheckResult
    //go:linkname cgoNoCallback
    //go:linkname gobytes
    //go:linkname gostringn
    
    // used in plugin
    //go:linkname doInit
    
    // used in math/bits
    //go:linkname overflowError
    //go:linkname divideError
    
    // used in tests
    //go:linkname extraMInUse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 778 bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            final long freeBytes = runtime.freeMemory();
            final long maxBytes = runtime.maxMemory();
            final long totalBytes = runtime.totalMemory();
            final long usedBytes = totalBytes - freeBytes;
            return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max "
                    + byteCountToDisplaySize(maxBytes) + "}";
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/builtins1.go

    	copy(x, y)
    	copy(x, "foo")
    	copy("foo" /* ERROR "expects slice arguments" */ , y)
    
    	var x2 []byte
    	copy(x2, y) // element types are identical
    	copy(y, x2) // element types are identical
    
    	type myByte byte
    	var x3 []myByte
    	copy(x3 /* ERROR "different element types" */ , y)
    	copy(y /* ERROR "different element types" */ , x3)
    }
    
    func _[T ~[]E, E any](x T, y []E) {
    	copy(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 21:16:29 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. 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)
  8. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
        },
        HASH_FUNCTION_VIA_HASHER() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().newHasher().putBytes(input).hash().asBytes();
          }
        };
        ;
    
        public abstract byte[] hash(Algorithm algorithm, byte[] input);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().hashBytes(input).asBytes();
          }
        },
        HASH_FUNCTION_VIA_HASHER() {
          @Override
          public byte[] hash(Algorithm algorithm, byte[] input) {
            return algorithm.getHashFunction().newHasher().putBytes(input).hash().asBytes();
          }
        };
        ;
    
        public abstract byte[] hash(Algorithm algorithm, byte[] input);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacMac.java

        }
    
    
        public static byte[] deriveKeyAES ( KerberosKey key, byte[] constant ) throws GeneralSecurityException {
            byte[] keybytes = key.getEncoded();
            Cipher cipher = Cipher.getInstance("AES/CBC/NoPadding");
            cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length));
            if ( constant.length != cipher.getBlockSize() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
Back to top