- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for addons (0.18 sec)
-
src/archive/zip/writer.go
w.compressors = make(map[uint16]Compressor) } w.compressors[method] = comp } // AddFS adds the files from fs.FS to the archive. // It walks the directory tree starting at the root of the filesystem // adding each file to the zip using deflate while maintaining the directory structure. func (w *Writer) AddFS(fsys fs.FS) error { return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
internal/store/batch_test.go
} keys, items, err = batch.GetAll() if err != nil { t.Fatalf("unable to get the items from the batch; %v", err) } if len(items) != 1 { t.Fatalf("Expected length of the batch items to be 1 but got %v", len(items)) } if len(keys) != 1 { t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items)) } // try adding again after Get.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 3.8K bytes - Viewed (0) -
internal/http/server_test.go
}) } if server == nil { t.Fatalf("Case %v: server: expected: <non-nil>, got: <nil>", (i + 1)) } else if !reflect.DeepEqual(server.Addrs, testCase.addrs) { t.Fatalf("Case %v: server.Addrs: expected: %v, got: %v", (i + 1), testCase.addrs, server.Addrs) } if testCase.certFn == nil { if server.TLSConfig != nil { t.Fatalf("Case %v: server.TLSConfig: expected: <nil>, got: %v", (i + 1), server.TLSConfig) }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Wed Mar 27 15:10:40 GMT 2024 - 2.7K bytes - Viewed (0) -
internal/http/listener_test.go
t.Fatalf("Test %d: error: expected = <nil>, got = %v", i+1, err) } } addrs := listener.Addrs() addrSet := set.NewStringSet() for _, addr := range addrs { addrSet.Add(addr.String()) } if !addrSet.Equals(testCase.expectedAddrs) { t.Fatalf("Test %d: addr: expected = %v, got = %v", i+1, testCase.expectedAddrs, addrs) } listener.Close() }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Jun 12 16:09:28 GMT 2023 - 11.8K bytes - Viewed (0) -
src/archive/tar/writer_test.go
Gid: 1000, Uname: "rawr", Gname: "dsnet", ModTime: time.Unix(0, 0), Format: FormatGNU, }, nil}, testClose{nil}, }, // TODO(dsnet): Re-enable this test when adding sparse support. // See https://golang.org/issue/22735 /* }, { file: "testdata/gnu-nil-sparse-data.tar", tests: []testFnc{ testHeader{Header{ Typeflag: TypeGNUSparse,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
return nil } log.Debugf("Pod %s now matches, adding to mesh", newPod.Name) // netns == ""; at this point netns should have been added via the initial snapshot, // or via the cni plugin. If it happens to get here before the cni plugin somehow, // then we will just fail to add the pod to the mesh, and it will be retried later when cni plugin adds it.
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 9.9K bytes - Viewed (0) -
cmd/object-api-interface.go
IndexCB func() []byte // InclFreeVersions indicates that free versions need to be included // when looking up a version by fi.VersionID InclFreeVersions bool // SkipFreeVersion skips adding a free version when a tiered version is // being 'replaced' // Note: Used only when a tiered object is being expired. SkipFreeVersion bool
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Apr 20 09:05:54 GMT 2024 - 16.9K bytes - Viewed (0) -
internal/config/config.go
// Fix `vs` when default. if v == kv.Value { vs = ValueSourceDef } if redactSecrets && isRedacted { // Skip adding redacted secrets to the output. continue } r = append(r, KVSrc{ Key: kv.Key, Value: v, Src: vs, }) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 37.3K bytes - Viewed (0) -
src/archive/tar/reader.go
// assuming that skipped regions are filled with NULs. // This always writes the last byte to ensure w is the right size. // // TODO(dsnet): Re-export this when adding sparse file support. // See https://golang.org/issue/22735 func (tr *Reader) writeTo(w io.Writer) (int64, error) { if tr.err != nil { return 0, tr.err } n, err := tr.curr.WriteTo(w) if err != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
*/ type connMgr struct { connectionSet map[*ZtunnelConnection]struct{} latestConn *ZtunnelConnection mu sync.Mutex } func (c *connMgr) addConn(conn *ZtunnelConnection) { log.Debug("ztunnel connected") c.mu.Lock() defer c.mu.Unlock() c.connectionSet[conn] = struct{}{} c.latestConn = conn ztunnelConnected.RecordInt(int64(len(c.connectionSet))) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0)