- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 68 for mybytes (0.13 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/codec_check.go
} for _, et := range externalTypes { typeMeta := TypeMeta{ Kind: et.Kind, APIVersion: et.GroupVersion().String(), } exBytes, err := json.Marshal(&typeMeta) if err != nil { return err } obj, err := Decode(c, exBytes) if err != nil { return fmt.Errorf("external type %s not interpretable: %v", et, err) } if reflect.TypeOf(obj) != reflect.TypeOf(internalType) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 07:07:03 UTC 2022 - 1.8K bytes - Viewed (0) -
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) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataAmount.java
public static Amount<DataAmount> bytes(BigDecimal value) { return Amount.valueOf(value, BYTES); } public static Amount<DataAmount> kbytes(BigDecimal value) { return Amount.valueOf(value, KILO_BYTES); } public static Amount<DataAmount> mbytes(BigDecimal value) { return Amount.valueOf(value, MEGA_BYTES); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.5K bytes - Viewed (0) -
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) -
src/runtime/tracetype.go
// The maximum number of bytes required to hold the encoded type. maxBytes := 1 + 5*traceBytesPerNumber + len(typName) // Estimate the size of this record. This // bound is pretty loose, but avoids counting // lots of varint sizes. // // Add 1 because we might also write a traceAllocFreeTypesBatch byte. var flushed bool w, flushed = w.ensure(1 + maxBytes) if flushed {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/sftp-server_test.go
}, ) } } func (s *TestSuiteIAM) SFTPFailedPublicKeyAuthenticationInvalidKey(c *check) { keyBytes, err := os.ReadFile("./testdata/invalid_test_key.pub") if err != nil { c.Fatalf("could not read test key file: %s", err) } testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes) if err != nil { c.Fatalf("could not parse test key file: %s", err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 05 07:51:13 UTC 2024 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go
if n == 0 { return nil, nil, fmt.Errorf("got short buffer with n=0, base=%d, cap=%d", base, cap(d.buf)) } if d.resetRead { continue } // double the buffer size up to maxBytes if len(d.buf) < d.maxBytes { base += n d.buf = append(d.buf, make([]byte, len(d.buf))...) continue } // must read the rest of the frame (until we stop getting ErrShortBuffer) d.resetRead = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 25 14:51:36 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 13 16:19:15 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/libfuzzer2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 254 bytes - Viewed (0) -
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)