- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for SetIndex (0.05 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
// Align to 8-byte boundary ndrBuffer.setIndex(5); alignedBytes = ndrBuffer.align(8); assertEquals(3, alignedBytes); // Should advance by 3 bytes (5 -> 8) assertEquals(8, ndrBuffer.getIndex()); } @Test void testEncDecNdrSmall() { ndrBuffer.enc_ndr_small(0xAB); assertEquals(1, ndrBuffer.getIndex());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K 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) -
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 {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37K bytes - Viewed (1) -
cmd/global-heal.go
indexed := make(map[string][]madmin.Disk) for _, disk := range si.Disks { setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex) indexed[setIdx] = append(indexed[setIdx], disk) } for id, disks := range indexed { ss := madmin.SetStatus{ ID: id, SetIndex: disks[0].SetIndex, PoolIndex: disks[0].PoolIndex, } for _, disk := range disks { ss.Disks = append(ss.Disks, disk)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 04 13:49:12 UTC 2025 - 16.2K bytes - Viewed (0) -
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.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
} doReceiveFragment(stub, isDirect); buf.reset(); buf.setIndex(8); buf.setLength(buf.dec_ndr_short()); if (securityProvider != null) { securityProvider.unwrap(buf); } buf.setIndex(0); msg.decode_header(buf); off = 24;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java
return response.getResult() == Result.CREATED ? 1 : 0; } protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) { final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity)); final String id = esEntity.asDocMeta().id(); if (id != null) { builder.setId(id); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
return response.getResult() == Result.CREATED ? 1 : 0; } protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) { final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity)); final String id = esEntity.asDocMeta().id(); if (id != null) { builder.setId(id); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
return response.getResult() == Result.CREATED ? 1 : 0; } protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) { final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity)); final String id = esEntity.asDocMeta().id(); if (id != null) { builder.setId(id); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
cmd/erasure.go
var OfflineDisk StorageAPI // zero value is nil // erasureObjects - Implements ER object layer. type erasureObjects struct { setDriveCount int defaultParityCount int setIndex int poolIndex int // getDisks returns list of storageAPIs. getDisks func() []StorageAPI // getLockers returns list of remote and local lockers. getLockers func() ([]dsync.NetLocker, string)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.1K bytes - Viewed (0)