- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 536 for dAtA (0.04 sec)
-
src/syscall/exec_linux.go
for { RawSyscall(SYS_EXIT, 253, 0, 0) } } func formatIDMappings(idMap []SysProcIDMap) []byte { var data []byte for _, im := range idMap { data = append(data, itoa.Itoa(im.ContainerID)+" "+itoa.Itoa(im.HostID)+" "+itoa.Itoa(im.Size)+"\n"...) } return data } // writeIDMappings writes the user namespace User ID or Group ID mappings to the specified path.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
// the test runtime is trying to write out counter data. cmd := exec.Command(testenv.GoToolPath(t), "test", "-cover", "-race") cmd.Dir = filepath.Join("testdata", "issue56006") b, err := cmd.CombinedOutput() if err != nil { t.Fatalf("go test -cover -race failed: %v\n%s", err, b) } // Don't want to see any data races in output. avoid := []string{"DATA RACE"} for _, no := range avoid {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
items := benchmarkItems(b) var data [][]byte for i := range items { item, err := json.Marshal(&items[i]) if err != nil { b.Fatalf("unexpected error: %v", err) } data = append(data, item) } size := len(items) b.ResetTimer() for i := 0; i < b.N; i++ { unstr := map[string]interface{}{} if err := json.Unmarshal(data[i%size], &unstr); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0) -
src/hash/crc32/crc32_test.go
b.SetBytes(n) data := make([]byte, n+alignment) data = data[alignment:] for i := range data { data[i] = byte(i) } in := make([]byte, 0, h.Size()) // Warm up h.Reset() h.Write(data) h.Sum(in) // Avoid further allocations in = in[:0] b.ResetTimer() for i := 0; i < b.N; i++ { h.Reset() h.Write(data) h.Sum(in) in = in[:0] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 12.1K bytes - Viewed (0) -
src/unsafe/unsafe.go
// u := reflect.ValueOf(new(int)).Pointer() // p := (*int)(unsafe.Pointer(u)) // // (6) Conversion of a [reflect.SliceHeader] or [reflect.StringHeader] Data field to or from Pointer. // // As in the previous case, the reflect data structures SliceHeader and StringHeader // declare the field Data as a uintptr to keep callers from changing the result to // an arbitrary type without first importing "unsafe". However, this means that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
want: "2006-01-02T15:04:05Z", fixme: "decoding cbor data tagged with 1 produces time.Time instead of RFC3339 timestamp string", assertOnError: assertNilError, }, { name: "tag 1 with float16 value", in: hex("c1f93c00"), // 1(1.0_1) want: "1970-01-01T00:00:01Z", fixme: "decoding cbor data tagged with 1 produces time.Time instead of RFC3339 timestamp string",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0) -
pkg/controller/testutil/test_utils.go
return node, nil } // PatchStatus patches a status of a Node in the fake store. func (m *FakeNodeHandler) PatchStatus(ctx context.Context, nodeName string, data []byte) (*v1.Node, error) { m.RequestCount++ return m.Patch(ctx, nodeName, types.StrategicMergePatchType, data, metav1.PatchOptions{}, "status") } // Watch watches Nodes in a fake store.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 15.6K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
data, _, err := readConfigWithMetadata(ctx, store, rebalMetaName, opts) if err != nil { return err } if len(data) == 0 { return nil } if len(data) <= 4 { return fmt.Errorf("rebalanceMeta: no data") } // Read header switch binary.LittleEndian.Uint16(data[0:2]) { case rebalMetaFmt: default:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 03 15:45:54 UTC 2024 - 27.3K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer.go
package ringbuffer import ( "context" "errors" "io" "sync" "unsafe" ) var ( // ErrTooMuchDataToWrite is returned when the data to write is more than the buffer size. ErrTooMuchDataToWrite = errors.New("too much data to write") // ErrIsFull is returned when the buffer is full and not blocking. ErrIsFull = errors.New("ringbuffer is full")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/object_api_suite_test.go
func newTestReaderEOF(data []byte) io.Reader { return &testOneByteReadEOF{false, data} } // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error. type testOneByteReadEOF struct { eof bool data []byte } func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data) r.eof = true return n, io.EOF }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 33.4K bytes - Viewed (0)