- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for makeZip (0.11 sec)
-
src/archive/zip/reader_test.go
// } // // func main() { // bigZip := makeZip("big.file", io.LimitReader(zeros{}, 1<<32-1)) // if err := os.WriteFile("/tmp/big.zip", bigZip, 0666); err != nil { // log.Fatal(err) // } // // biggerZip := makeZip("big.zip", bytes.NewReader(bigZip)) // if err := os.WriteFile("/tmp/bigger.zip", biggerZip, 0666); err != nil { // log.Fatal(err) // } // // biggestZip := makeZip("bigger.zip", bytes.NewReader(biggerZip))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map); return newMap; } }, MapMakerStrongKeysWeakValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
Netns: "someNetNS", IfName: "ethBro", ContainerID: "bbb-eee-www", } var ( fakeIP = net.ParseIP("99.9.9.9") fakeGW = net.ParseIP("88.9.9.9") fakeIDX = 0 fakePrevResultIPConfig = cniv1.IPConfig{ Interface: &fakeIDX, Address: net.IPNet{ IP: fakeIP, }, Gateway: fakeGW, } ) func TestPushCNIAddEventSucceed(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map); return newMap; } }, MapMakerStrongKeysWeakValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerTest.java
fail(); } catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() { Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); assertTrue(map instanceof ConcurrentHashMap); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
fail(); } catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() { Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); assertTrue(map instanceof ConcurrentHashMap); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/ftp-server-driver.go
stopFn := globalFtpMetrics.log(ctx, fromObjPath, toObjPath) defer stopFn(0, err) return NotImplemented{} } // MakeDir implements ftpDriver func (driver *ftpDriver) MakeDir(ctx *ftp.Context, objPath string) (err error) { stopFn := globalFtpMetrics.log(ctx, objPath) defer stopFn(0, err) bucket, prefix := path2BucketObject(objPath) if bucket == "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
MapMaker mapMaker = new MapMaker(); // force MapMaker to use its own MapMakerInternalMap mapMaker.useCustomMap = true; testAddAndRemove(mapMaker.<String, AtomicInteger>makeMap()); } private void testAddAndRemove(ConcurrentMap<String, AtomicInteger> map) throws ExecutionException, InterruptedException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
c.SetInput(i, c.UnknownShape()); continue; } dims.reserve(input_shape.num_dims); for (int j = 0; j < input_shape.num_dims; ++j) { dims.push_back(c.MakeDim(input_shape.dims[j])); } c.SetInput(i, c.MakeShape(dims)); } // TODO(bgogul): Handle input_tensors_as_shapes. // TODO(bgogul): Handle input_resource_shapes_and_types.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
super(stripes); this.size = (mask == ALL_SET) ? Integer.MAX_VALUE : mask + 1; this.supplier = supplier; this.locks = new MapMaker().weakValues().makeMap(); } @Override public L getAt(int index) { if (size != Integer.MAX_VALUE) { Preconditions.checkElementIndex(index, size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 20.6K bytes - Viewed (0)