- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for getZip (0.09 sec)
-
testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy
} protected TestFile unpackDistribution(type = getDistributionLabel(), TestFile into = testDirectory) { TestFile zip = getZip(type) zip.usingNativeTools().unzipTo(into) assert into.listFiles().size() == 1 into.listFiles()[0] } protected TestFile getZip(String type = getDistributionLabel()) { switch (type) { case 'bin': buildContext.binDistribution
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 10.5K bytes - Viewed (0) -
src/net/netip/netip.go
// Package netip defines an IP address type that's a small value type. // Building on that [Addr] type, the package also defines [AddrPort] (an // IP address and a port) and [Prefix] (an IP address and a bit length // prefix). // // Compared to the [net.IP] type, [Addr] type takes less memory, is immutable, // and is comparable (supports == and being a map key). package netip import ( "cmp" "errors"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
getMap().forcePut(k1(), null); expectContents(Helpers.mapEntry(k1(), (V) null)); assertFalse(getMap().containsKey(k0())); assertTrue(getMap().containsKey(k1())); assertTrue(getMap().inverse().containsKey(null)); assertNull(getMap().get(k1())); assertEquals(k1(), getMap().inverse().get(null)); assertEquals(1, getMap().size()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = getMap().size(); assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0())); assertEquals( "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size()); expectMissing(e0()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/pkg/config/kube/ingress/status_test.go
assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{}) // Add it back svc.Create(updated) assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{"5.6.7.8"}) // Remove ingress class ing.Update(&knetworking.Ingress{ ObjectMeta: metav1.ObjectMeta{ Name: "ingress", Namespace: "default", }, }) assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java
public void testKeySetIteratorRemove() { int initialSize = getNumElements(); Iterator<K> iterator = getMap().keySet().iterator(); iterator.next(); iterator.remove(); assertEquals(initialSize - 1, getMap().size()); assertEquals(initialSize - 1, getMap().inverse().size()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
public class ConcurrentMapReplaceTester<K, V> extends AbstractMapTester<K, V> { @Override protected ConcurrentMap<K, V> getMap() { return (ConcurrentMap<K, V>) super.getMap(); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresent() { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
extends AbstractContainerTester<Map<K, V>, Entry<K, V>> { protected Map<K, V> getMap() { return container; } @Override protected Collection<Entry<K, V>> actualContents() { return getMap().entrySet(); } /** @see AbstractContainerTester#resetContainer() */ protected final void resetMap() { resetContainer(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/kube/krt/bench_test.go
} })) c.handler = func(e krt.Event[Workload]) { events <- fmt.Sprintf(e.Latest().Name, e.Event) } go c.queue.Run(stop) } var nextIP = net.ParseIP("10.0.0.10") func GetIP() string { i := nextIP.To4() ret := i.String() v := uint(i[0])<<24 + uint(i[1])<<16 + uint(i[2])<<8 + uint(i[3]) v++ v3 := byte(v & 0xFF) v2 := byte((v >> 8) & 0xFF) v1 := byte((v >> 16) & 0xFF)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
@ElementTypesAreNonnullByDefault public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K, V> { @Override protected BiMap<K, V> getMap() { return (BiMap<K, V>) super.getMap(); } static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry( Entry<K, V> entry) { return Helpers.mapEntry(entry.getValue(), entry.getKey()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.1K bytes - Viewed (0)