- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 4,560 for long (0.15 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java
private long offset; /** * Constructs a seek response. * * @param config the configuration */ public SmbComSeekResponse(final Configuration config) { super(config); } /** * Gets the current file offset after the seek operation. * * @return the offset */ public long getOffset() { return this.offset;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; } @CanIgnoreReturnValue static long checkNonnegative(long value, String name) { if (value < 0) { throw new IllegalArgumentException(name + " cannot be negative but was: " + value); } return value; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 10 21:56:42 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
} public void testFlatMapToLong_nullStream() { SpliteratorTester.ofLong( () -> CollectSpliterators.flatMapToLong( Arrays.spliterator(new Long[] {1L, 0L, 1L, 2L, 3L}), (Long i) -> i == 0L ? null : LongStream.of(i).spliterator(), Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL, 4)) .expect(1L, 1L, 2L, 3L); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
long flags = 0x1234567890ABCDEFL; request.setSmbCreateFlags(flags); byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0); // Verify flags are written at correct offset (8-15) long readFlags = 0; for (int i = 0; i < 8; i++) { readFlags |= ((long) (buffer[8 + i] & 0xFF)) << (i * 8); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTesting.java
static final double LONG_MANY_VALUES_MIN = -44444444.0; // Longs which will overflow if summed (using long arithmetic): static final long[] LARGE_LONG_VALUES = {Long.MAX_VALUE, Long.MAX_VALUE / 2}; static final double LARGE_LONG_VALUES_MEAN = BigInteger.valueOf(Long.MAX_VALUE) .multiply(BigInteger.valueOf(3L)) .divide(BigInteger.valueOf(4L))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
return mapsImpl.create(contents); } @Benchmark public int iterate() { long retVal = 0; for (Object entry : map.entrySet()) { retVal += entry.hashCode(); } return (int) retVal; } @Benchmark public int keyIterate() { long retVal = 0; for (Object key : map.keySet()) { retVal += key.hashCode(); } return (int) retVal;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
stopwatch.start(); ticker.advance((long) (1.5 * 60 * 1000000000L)); assertThat(stopwatch.toString()).isEqualTo("1.500 min"); stopwatch.reset(); stopwatch.start(); ticker.advance((long) (2.5 * 60 * 60 * 1000000000L)); assertThat(stopwatch.toString()).isEqualTo("2.500 h"); stopwatch.reset(); stopwatch.start(); ticker.advance((long) (7.25 * 24 * 60 * 60 * 1000000000L));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
@Override public Hasher putInt(int i) { ensureCapacity(Integer.BYTES); buffer.putInt(i); return this; } @Override public Hasher putLong(long l) { ensureCapacity(Long.BYTES); buffer.putLong(l); return this; } @Override public Hasher putChar(char c) { ensureCapacity(Character.BYTES); buffer.putChar(c);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 04 15:39:10 GMT 2025 - 4.8K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
@Test public void test_setMaxAccessCount() { long maxAccessCount = 1000L; webFsIndexHelper.setMaxAccessCount(maxAccessCount); assertEquals(maxAccessCount, webFsIndexHelper.maxAccessCount); } @Test public void test_setMaxAccessCount_withMaxValue() { webFsIndexHelper.setMaxAccessCount(Long.MAX_VALUE); assertEquals(Long.MAX_VALUE, webFsIndexHelper.maxAccessCount); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.6K bytes - Click Count (0)