- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for getIndex (0.07 sec)
-
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
} encode_in(buf); length = buf.getIndex() - start; if (ptype == 0) { buf.setIndex(alloc_hint_index); alloc_hint = length - alloc_hint_index; buf.enc_ndr_long(alloc_hint); } buf.setIndex(start); encode_header(buf); buf.setIndex(start + length); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
} encode_in(buf); this.length = buf.getIndex() - start; if (this.ptype == 0) { buf.setIndex(alloc_hint_index); this.alloc_hint = this.length - alloc_hint_index; buf.enc_ndr_long(this.alloc_hint); } buf.setIndex(start); encode_header(buf); buf.setIndex(start + this.length); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
assertThat(indexed1.getIndex(), is(0)); assertThat(indexed1.getElement(), is("aaa")); final Indexed<String> indexed2 = it.next(); assertThat(indexed2.getIndex(), is(1)); assertThat(indexed2.getElement(), is("bbb")); final Indexed<String> indexed3 = it.next(); assertThat(indexed3.getIndex(), is(2)); assertThat(indexed3.getElement(), is("ccc"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
NdrShort ns = new NdrShort(original); buf.reset(); ns.encode(buf); // should not throw // After encoding, check how many bytes were used int bytesUsed = buf.getIndex(); // Should be 2 bytes for the short value (alignment may add padding) assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short"); // Reset index to read back buf.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/IndexedIterator.java
* System.out.println(indexed.getIndex()); * System.out.println(indexed.getElement()); * } * </pre> * * <pre> * import static org.codelibs.core.collection.IndexedIterator.*; * import static org.codelibs.core.io.LineIterator.*; * * BufferedReader reader = ...; * for (Indexed<String> indexed : indexed(iterable(reader))) { * System.out.println(indexed.getIndex());
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
this.total = total; this.items = items; } /** * Returns the index associated with the response. * * @return the index */ public String getIndex() { return index; } /** * Returns the time taken to generate the response in milliseconds. * * @return the time taken in milliseconds */ public long getTookMs() {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt
// Something was parsed. It's possible the entire string was not consumed but we ignore // that. If any of the BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS ended in "'GMT'" we'd have // to also check that position.getIndex() == value.length() otherwise parsing might have // terminated early, ignoring things like "+01:00". Leaving this as != 0 means that any // trailing junk is ignored. return result } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
final List<String> words = new ArrayList<>(); final List<SuggestItem> items = new ArrayList<>(); final String index; if (hits.length > 0) { index = hits[0].getIndex(); } else { index = SuggestConstants.EMPTY_STRING; } for (final SearchHit hit : hits) { final Map<String, Object> source = hit.getSourceAsMap();
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
m.ptype = 0; // request m.flags = 0x05; m.alloc_hint = 0; NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); // decode back buf.setIndex(0); m.decode_header(buf); assertEquals(0, m.ptype); } @Test void testDecodeHeaderInvalidVersion() { NdrBuffer buf = new NdrBuffer(new byte[10], 0);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0)