- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 1,168 for isInteger (0.07 sec)
-
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0x56, buffer[2] & 0xFF); assertEquals(0x78, buffer[3] & 0xFF); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE }) @DisplayName("Should handle boundary values") void testBoundaryValues(int value) { // Given byte[] buffer = new byte[4]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* the <i>count</i> of that element (the terms "frequency" and "multiplicity" are equivalent, but * not used in this API). Since the count of an element is represented as an {@code int}, a multiset * may never contain more than {@link Integer#MAX_VALUE} occurrences of any one element. * * <p>{@code Multiset} refines the specifications of several methods from {@code Collection}. It
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* * <p>Usage example: * * {@snippet : * // Falling back to a zero counter in case an exception happens when processing the RPC to fetch * // counters. * ListenableFuture<Integer> faultTolerantFuture = * fetchCounters().catching(FetchException.class, x -> 0, directExecutor()); * } * * <p>When selecting an executor, note that {@code directExecutor} is dangerous in some cases. SeeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
override fun encode( writer: DerWriter, value: Boolean, ) = writer.writeBoolean(value) }, ) val INTEGER_AS_LONG = BasicDerAdapter( name = "INTEGER", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 2L, codec = object : BasicDerAdapter.Codec<Long> { override fun decode(reader: DerReader): Long = reader.readLong()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
return delegateOrNull() != null; } /** Stores the hash table mask as the number of bits needed to represent an index. */ private void setHashTableMask(int mask) { int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask); metadata = CompactHashing.maskCombine(metadata, hashTableBits, CompactHashing.HASH_TABLE_BITS_MASK); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
reader.reset(); assertEquals(string, readFully(reader)); assertFullyRead(reader); // reset, skip, mark, then read the rest reader.reset(); assertEquals(5, reader.skip(5)); reader.mark(Integer.MAX_VALUE); assertEquals(string.substring(5), readFully(reader)); assertFullyRead(reader); // reset to the mark and then read the rest reader.reset();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
final String value = System.getProperty("corelib.timeout_task.num_of_threads"); if (StringUtil.isNotBlank(value)) { try { nThreads = Integer.parseInt(value); } catch (final NumberFormatException e) { logger.warn("Failed to parse " + value, e); } } if (nThreads < 1) { nThreads = 1;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
if (occurrences == 0) { return count(element); } int index = element.ordinal(); int oldCount = counts[index]; long newCount = (long) oldCount + occurrences; checkArgument(newCount <= Integer.MAX_VALUE, "too many occurrences: %s", newCount); counts[index] = (int) newCount; if (oldCount == 0) { distinctElements++; } size += occurrences; return oldCount; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
final int protocolId = SMBUtil.readInt4(buffer, bufferIndex); if (protocolId != TRANSFORM_PROTOCOL_ID) { throw new IllegalArgumentException("Invalid transform header protocol ID: 0x" + Integer.toHexString(protocolId)); } bufferIndex += 4; // Read signature System.arraycopy(buffer, bufferIndex, header.signature, 0, 16); bufferIndex += 16;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0)