- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for mybytes (0.1 sec)
-
src/crypto/sha256/sha256block_arm64.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/test/util/file/file.go
package file import ( "archive/tar" "bytes" "fmt" "io" "os" "path/filepath" "strings" "github.com/mitchellh/go-homedir" "istio.io/istio/pkg/test" ) // AsBytes is a simple wrapper around os.ReadFile provided for completeness. func AsBytes(filename string) ([]byte, error) { return os.ReadFile(filename) } // AsBytesOrFail calls AsBytes and fails the test if any errors occurred.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 17 02:22:22 UTC 2023 - 4.6K bytes - Viewed (0) -
android/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) -
cmd/prune-junit-xml/prunexml.go
testcase.SkipMessage.Message = head + "[...clipped...]" + tail } } if testcase.Failure != nil { if len(testcase.Failure.Contents) > maxBytes { fmt.Printf("clipping failure message in test case : %s\n", testcase.Name) head := testcase.Failure.Contents[:maxBytes/2] tail := testcase.Failure.Contents[len(testcase.Failure.Contents)-maxBytes/2:] testcase.Failure.Contents = head + "[...clipped...]" + tail
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 12:26:00 UTC 2023 - 4.4K bytes - Viewed (0) -
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) -
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)