- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 54 for get_index (0.11 seconds)
-
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.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (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.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 6.8K bytes - Click Count (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());
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.3K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
cmd/erasure-sets.go
} } } func (s *erasureSets) GetLockers(setIndex int) func() ([]dsync.NetLocker, string) { return func() ([]dsync.NetLocker, string) { lockers := make([]dsync.NetLocker, len(s.erasureLockers[setIndex])) copy(lockers, s.erasureLockers[setIndex]) return lockers, s.erasureLockOwner } } func (s *erasureSets) GetEndpointStrings(setIndex int) func() []string { return func() []string {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
cmd/background-newdisks-heal-ops.go
// If the tracker has been deleted an error is returned. func (h *healingTracker) update(ctx context.Context) error { h.mu.Lock() if h.ID == "" || h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 { h.ID, _ = h.disk.GetDiskID() h.PoolIndex, h.SetIndex, h.DiskIndex = h.disk.GetDiskLoc() } h.mu.Unlock() return h.save(ctx) } // save will unconditionally save the tracker and will be created if not existing.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 16.5K bytes - Click Count (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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 24.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/Indexed.java
* * @return the element */ public T getElement() { return element; } /** * Returns the index. * * @return the index */ public int getIndex() { return index; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.4K bytes - Click Count (0)