- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,327 for 2006 (0.03 sec)
-
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
"U0.50", // #5 "U2.00", // #6 "R0.00, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50, R0.50"); // #7 } public void testWarmUpWithColdFactor() { RateLimiter limiter = RateLimiter.create(5.0, 4000, MILLISECONDS, 10.0, stopwatch); for (int i = 0; i < 8; i++) { limiter.acquire(); // #1 } stopwatch.sleepMillis(200); // #2: to repay for the last acquire
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
@Override public int getSoTimeout () { return 2000; } @Override public int getConnTimeout () { return 2000; } @Override public int getSessionTimeout () { return 2000; } }); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostSpecifierTest.java
} } public void testEquality() { new EqualsTester() .addEqualityGroup(spec("1.2.3.4"), spec("1.2.3.4")) .addEqualityGroup(spec("2001:db8::1"), spec("2001:db8::1"), spec("[2001:db8::1]")) .addEqualityGroup(spec("2001:db8::2")) .addEqualityGroup(spec("google.com"), spec("google.com")) .addEqualityGroup(spec("www.google.com")) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
} } public void testEquality() { new EqualsTester() .addEqualityGroup(spec("1.2.3.4"), spec("1.2.3.4")) .addEqualityGroup(spec("2001:db8::1"), spec("2001:db8::1"), spec("[2001:db8::1]")) .addEqualityGroup(spec("2001:db8::2")) .addEqualityGroup(spec("google.com"), spec("google.com")) .addEqualityGroup(spec("www.google.com")) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
} public void testIncrementIPv6() throws UnknownHostException { InetAddress addressV6_66_0 = InetAddress.getByName("2001:db8::6600"); InetAddress addressV6_66_ff = InetAddress.getByName("2001:db8::66ff"); InetAddress addressV6_67_0 = InetAddress.getByName("2001:db8::6700"); InetAddress address = addressV6_66_0; for (int i = 0; i < 255; i++) { address = InetAddresses.increment(address);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* <dt>The IPv6 loopback address, {@code "::1"}. * <dd>{@code 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01} * <dt>From the IPv6 reserved documentation prefix ({@code 2001:db8::/32}), {@code "2001:db8::1"}. * <dd>{@code 20 01 0d b8 00 00 00 00 00 00 00 00 00 00 00 01} * <dt>An IPv6 "IPv4 compatible" (or "compat") address, {@code "::192.168.0.1"}. * <dd>{@code 00 00 00 00 00 00 00 00 00 00 00 00 c0 a8 00 01}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AnEnum.java
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 854 bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
TimeoutManager.getInstance().start(); assertNotNull(TimeoutManager.getInstance().thread); Thread.sleep(2000); assertEquals(count, expiredCount); assertEquals(1, TimeoutManager.getInstance().getTimeoutTaskCount()); task.cancel(); Thread.sleep(2000); assertEquals(0, TimeoutManager.getInstance().getTimeoutTaskCount()); assertNull(TimeoutManager.getInstance().thread); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java
/* * Copyright (C) 2007 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(parse("http://[2001:db8::1]/").host).isEqualTo("2001:db8::1") assertThat(parse("http://[2001:db8:0:0:0:0:2:1]/").host).isEqualTo("2001:db8::2:1") assertThat(parse("http://[2001:db8:0:1:1:1:1:1]/").host).isEqualTo("2001:db8:0:1:1:1:1:1") assertThat(parse("http://[2001:db8:0:0:1:0:0:1]/").host).isEqualTo("2001:db8::1:0:0:1")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0)