- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 736 for sampler (0.56 sec)
-
src/main/java/jcifs/util/SimpleCircuitBreaker.java
private final long timeoutMillis; /** * Creates a simple circuit breaker with default settings * * @param name the circuit breaker name */ public SimpleCircuitBreaker(String name) { this(name, 5, 3, 30000L); // 5 failures, 3 successes, 30 second timeout } /** * Creates a simple circuit breaker * * @param name the circuit breaker nameRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.sample; import java.io.File; import java.io.IOException; import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; import java.util.concurrent.BlockingQueue;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/toolchains.xml
| | NOTE: This location can be overridden with the CLI option: | | -it /path/to/installation/toolchains.xml | | The sections in this sample file are intended to give you a running start at | getting the most out of your Maven installation. |--> <toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Primitives.java
Class<?> value) { forward.put(key, value); backward.put(value, key); } /** * Returns an immutable set of all nine primitive types (including {@code void}). Note that a * simpler way to test whether a {@code Class} instance is a member of this set is to call {@link * Class#isPrimitive}. * * @since 3.0 */ public static Set<Class<?>> allPrimitiveTypes() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* thought of as overkill; however, it's difficult to determine which proper subset of this massive * set would be sufficient to expose any possible bug. Brute force is simpler. * * <p>To use this class the concrete subclass must implement the {@link * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
/** * Benchmarks for various algorithms for computing the mean and/or variance. * * @author Louis Wasserman */ @NullUnmarked public class StatsBenchmark { enum MeanAlgorithm { SIMPLE { @Override double mean(double[] values) { double sum = 0.0; for (double value : values) { sum += value; } return sum / values.length; } },Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertArrayEquals(data, readData, "File content should match"); } } @Test void testSimpleMultipleFiles() throws Exception { // Test creating multiple files sequentially (simpler than concurrent access) for (int i = 0; i < 3; i++) { SmbFile file = new SmbFile(baseUrl + "shared/multi" + i + ".txt", context); String content = "Content for file " + i;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
} // Convert modules element to subprojects Element modulesElement = root.child(MODULES).orElse(null); if (modulesElement != null) { // domtrip makes this much simpler - just change the element name // The formatting and structure are preserved automatically modulesElement.name(SUBPROJECTS); context.detail("Converted <modules> to <subprojects>");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
import java.util.ArrayList; import java.util.List; import java.util.Set; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Package up sample data for common collections benchmarking. * * @author Nicholaus Shupe */ @NullUnmarked class CollectionBenchmarkSampleData { private final boolean isUserTypeFast; private final SpecialRandom random;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCopyOf_concurrentlyMutating() { List<String> sample = Lists.newArrayList("a", "b", "c"); for (int delta : new int[] {-1, 0, 1}) { for (int i = 0; i < sample.size(); i++) { Collection<String> misleading = misleadingSizeCollection(delta); List<String> expected = sample.subList(0, i); misleading.addAll(expected);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)