- Sort Score
- Num 10 results
- Language All
Results 2071 - 2080 of 4,990 for PRIVATE (0.05 seconds)
-
android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
@NullUnmarked public class QuantilesBenchmark { private static final ContiguousSet<Integer> ALL_DECILE_INDEXES = ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers()); @Param({"10", "100", "1000", "10000", "100000"}) int datasetSize; @Param QuantilesAlgorithm algorithm; private final double[][] datasets = new double[0x100][]; @BeforeExperiment void setUp() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
* propagated out from the {@link Flushables#flush} method if {@code swallowException} is true. * * @author Michael Lancaster */ @NullUnmarked public class FlushablesTest extends TestCase { private Flushable mockFlushable; public void testFlush_clean() throws IOException { // make sure that no exception is thrown regardless of value of // 'swallowException' when the mock does not throw an exception.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMapValues.java
*/ @SuppressWarnings("unused") private static final class SerializedForm<V> implements Serializable { final ImmutableMap<?, V> map; SerializedForm(ImmutableMap<?, V> map) { this.map = map; } Object readResolve() { return map.values(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java
@NullUnmarked public class QuantilesBenchmark { private static final ContiguousSet<Integer> ALL_DECILE_INDEXES = ContiguousSet.create(Range.closed(0, 10), DiscreteDomain.integers()); @Param({"10", "100", "1000", "10000", "100000"}) int datasetSize; @Param QuantilesAlgorithm algorithm; private final double[][] datasets = new double[0x100][]; @BeforeExperiment void setUp() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
/** * SMB2 Lease Key * * Represents a 16-byte lease key used to identify leases in SMB2/SMB3 * MS-SMB2 2.2.13.2.8 */ public class Smb2LeaseKey { private final byte[] key; private static final SecureRandom RANDOM = new SecureRandom(); private static final int LEASE_KEY_SIZE = 16; /** * Create a new random lease key */ public Smb2LeaseKey() { this.key = new byte[LEASE_KEY_SIZE];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
@GwtIncompatible @J2ktIncompatible @J2ObjCIncompatible // gc @NullMarked public final class GcFinalization { private GcFinalization() {} /** * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a * gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
} assertThat(httpHeaders.build()).containsNoDuplicates(); } private static ImmutableSet<Field> httpHeadersFields() { ImmutableSet.Builder<Field> builder = ImmutableSet.builder(); for (Field field : HttpHeaders.class.getDeclaredFields()) { /* * Coverage mode generates synthetic fields. If we ever add private * fields, they will cause similar problems, and we may want to switchCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hashing.java
*/ private static final class LinearCongruentialGenerator { private long state; LinearCongruentialGenerator(long seed) { this.state = seed; } double nextDouble() { state = 2862933555777941757L * state + 1; return ((double) ((int) (state >>> 33) + 1)) / 0x1.0p31; } } private Hashing() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
assertThat(forwardingMap.toString()).isEqualTo(hashmap.toString()); } private static <K, V> Map<K, V> wrap(Map<K, V> delegate) { return new ForwardingMap<K, V>() { @Override protected Map<K, V> delegate() { return delegate; } }; } private static @Nullable Object getDefaultValue(TypeToken<?> type) { Class<?> rawType = type.getRawType();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class Smb2CreateResponseTest { // SMB2 header size in bytes private static final int SMB2_HEADER_LENGTH = 64; /** * Build a minimal SMB2 header for a response. */ private static byte[] buildSmb2Header() { byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)