- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for inCopy (0.34 sec)
-
src/net/addrselect_test.go
k := len(inCopy) - j - 1 inCopy[j], inCopy[k] = inCopy[k], inCopy[j] srcCopy[j], srcCopy[k] = srcCopy[k], srcCopy[j] } sortByRFC6724withSrcs(inCopy, srcCopy) if !reflect.DeepEqual(inCopy, tt.want) { t.Errorf("test %d, starting backwards:\nin = %s\ngot: %s\nwant: %s\n", i, tt.in, inCopy, tt.want) } } } } func TestRFC6724PolicyTableOrder(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 05 07:16:00 UTC 2022 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers_test.go
}}, }, expectErr: true, }, } for i, tc := range tc { inCopy := tc.in.DeepCopy() out, err := LabelSelectorAsSelector(tc.in) // after calling LabelSelectorAsSelector, tc.in shouldn't be modified if !reflect.DeepEqual(inCopy, tc.in) { t.Errorf("[%v]expected:\n\t%#v\nbut got:\n\t%#v", i, inCopy, tc.in) } if err == nil && tc.expectErr { t.Errorf("[%v]expected error but got none.", i) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 29.9K bytes - Viewed (0) -
tensorflow/compiler/jit/resource_operation_safety_analysis.cc
return; } for (ResourceOp resource_op : other) { Add(resource_op); } } void Add(const ResourceOp& resource_op) { CHECK(!frozen_); if (!IsCopy() && Contains(resource_op)) { // We can avoid the copy if the item we want to insert already exists. return; } EnsureIsCopied(); impl_->insert(resource_op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 11.2K bytes - Viewed (0) -
cmd/storage-rest-client.go
if opts.NoOp { ctx, cancel := context.WithTimeout(ctx, 5*time.Second) defer cancel() opts.DiskID = *client.diskID.Load() infop, err := storageDiskInfoRPC.Call(ctx, client.gridConn, &opts) if err != nil { return info, toStorageErr(err) } info = *infop if info.Error != "" { return info, toStorageErr(errors.New(info.Error)) } return info, nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
// instantiate func memmove(to *any, frm *any, length uintptr) fn := typecheck.LookupRuntime("memmove", elemtype, elemtype) ncopy = mkcall1(fn, nil, &nodes, addr, sptr, nwid) } ln := append(nodes, ncopy) typecheck.Stmts(ln) walkStmtList(ln) init.Append(ln...) return s } // isAppendOfMake reports whether n is of the form append(x, make([]T, y)...).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/net/http/transfer.go
dst := w if t.Method == "CONNECT" { dst = bufioFlushWriter{dst} } ncopy, err = t.doBodyCopy(dst, body) } else { ncopy, err = t.doBodyCopy(w, io.LimitReader(body, t.ContentLength)) if err != nil { return err } var nextra int64 nextra, err = t.doBodyCopy(io.Discard, body) ncopy += nextra } if err != nil { return err } } if t.BodyCloser != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 31.1K bytes - Viewed (0) -
src/runtime/stack.go
// Synchronize with channel ops and copy the part of // the stack they may interact with. ncopy -= syncadjustsudogs(gp, used, &adjinfo) } // Copy the stack (or the rest of it) to the new location memmove(unsafe.Pointer(new.hi-ncopy), unsafe.Pointer(old.hi-ncopy), ncopy) // Adjust remaining structures that have pointers into stacks. // We have to do most of these before we traceback the new
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
extention = ".sh"; content = "#!/bin/bash\nsleep " + sleep + ";cp $1 $2"; } else { // Windows extention = ".bat"; content = "ping localhost -n " + sleep + "\r\ncopy %1 %2"; } File file; try { file = File.createTempFile("script", extention); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes());
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.8K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
return nil, err } if !hold.Status.Valid() { return nil, ErrMalformedXML } return } // FilterObjectLockMetadata filters object lock metadata if s3:GetObjectRetention permission is denied or if isCopy flag set. func FilterObjectLockMetadata(metadata map[string]string, filterRetention, filterLegalHold bool) map[string]string { // Copy on write dst := metadata var copied bool delKey := func(key string) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 17.1K bytes - Viewed (0)