- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 119 for get$index (0.06 sec)
-
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) -
callbacks.go
if c.before != "" { // if defined before callback if c.before == "*" && len(sorted) > 0 { if curIdx := getRIndex(sorted, c.name); curIdx == -1 { sorted = append([]string{c.name}, sorted...) } } else if sortedIdx := getRIndex(sorted, c.before); sortedIdx != -1 { if curIdx := getRIndex(sorted, c.name); curIdx == -1 { // if before callback already sorted, append current callback just after it
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 8.8K 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) -
cmd/metrics-v3-system-drive.go
package cmd import ( "context" "strconv" "github.com/minio/madmin-go/v3" ) // label constants const ( driveL = "drive" poolIndexL = "pool_index" setIndexL = "set_index" driveIndexL = "drive_index" apiL = "api" sectorSize = uint64(512) kib = float64(1 << 10) driveHealthOffline = float64(0) driveHealthOnline = float64(1) driveHealthHealing = float64(2)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
* * @return the current index */ public int getIndex() { return index; } /** * Sets the current index position in the buffer. * * @param index the new index position */ public void setIndex(final int index) { this.index = index; } /** * Returns the capacity of the buffer.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
* * @return the current index */ public int getIndex() { return this.index; } /** * Sets the current index position in the buffer. * * @param index the new index position */ public void setIndex(final int index) { this.index = index; } /** * Returns the capacity of the buffer.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K 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) -
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) -
cmd/mrf_gen.go
} case "Versions": z.Versions, err = dc.ReadBytes(z.Versions) if err != nil { err = msgp.WrapError(err, "Versions") return } case "SetIndex": z.SetIndex, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "SetIndex") return } case "PoolIndex": z.PoolIndex, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "PoolIndex") return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops_gen.go
return } case "PoolIndex": z.PoolIndex, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "PoolIndex") return } case "SetIndex": z.SetIndex, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "SetIndex") return } case "DiskIndex": z.DiskIndex, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "DiskIndex") return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 20 15:42:49 UTC 2024 - 24.6K bytes - Viewed (0)