- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 410 for position (0.04 sec)
-
android/guava/src/com/google/common/base/Preconditions.java
* Ensures that {@code start} and {@code end} specify valid <i>positions</i> in an array, list or * string of size {@code size}, and are in order. A position index may range from zero to {@code * size}, inclusive. * * @param start a user-supplied index identifying a starting position in an array, list or string * @param end a user-supplied index identifying an ending position in an array, list or string
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MapRetrievalCache.java
private void addToCache(K key, V value) { addToCache(new CacheEntry<K, V>(key, value)); } private void addToCache(CacheEntry<K, V> entry) { // Slide new entry into first cache position. Drop previous entry in second cache position. cacheEntry2 = cacheEntry1; cacheEntry1 = entry; } private static final class CacheEntry<K, V> { final K key; final V value; CacheEntry(K key, V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractHasher.java
} return this; } @Override @CanIgnoreReturnValue public Hasher putBytes(ByteBuffer b) { if (b.hasArray()) { putBytes(b.array(), b.arrayOffset() + b.position(), b.remaining()); Java8Compatibility.position(b, b.limit()); } else { for (int remaining = b.remaining(); remaining > 0; remaining--) { putByte(b.get()); } } return this; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java
* @param rule the rule to add */ @Override public void addRule(final Rule rule) { ruleList.add(rule); } /** * Adds a rule at the specified position in the rule list. * @param index the position to insert the rule * @param rule the rule to add */ @Override public void addRule(final int index, final Rule rule) { ruleList.add(index, rule); } /*
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
@DisplayName("Should write at different buffer positions") void testWriteAtDifferentPositions() { byte[] buffer = new byte[512]; // Test at position 0 int bytesWritten = request.writeBytesWireFormat(buffer, 0); assertEquals(48, bytesWritten); assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Test at position 100 Arrays.fill(buffer, (byte) 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
position++; return c; } @CanIgnoreReturnValue char consumeCharacter(char c) { checkState(hasMore()); checkState(previewChar() == c); position++; return c; } char previewChar() { checkState(hasMore()); return input.charAt(position); } boolean hasMore() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
} } /** Updates this hasher with bytes from the given buffer. */ protected void update(ByteBuffer b) { if (b.hasArray()) { update(b.array(), b.arrayOffset() + b.position(), b.remaining()); Java8Compatibility.position(b, b.limit()); } else { for (int remaining = b.remaining(); remaining > 0; remaining--) { update(b.get()); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 12:40:17 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
NdrHyper hyper = new NdrHyper(original); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0); hyper.encode(buf); // Reset buffer position for decoding buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf); assertEquals(original, decoded.value, "Decoded value should match encoded value"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* Returns the element at the specified position in this fluent iterable. * * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (but note * that this throws different exception types, and throws an exception if {@code null} would be * returned). * * @param position position of the element to return * @return the element at the specified position in this fluent iterable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* Returns the element at the specified position in this fluent iterable. * * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (but note * that this throws different exception types, and throws an exception if {@code null} would be * returned). * * @param position position of the element to return * @return the element at the specified position in this fluent iterable
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0)