Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for newest (0.05 sec)

  1. cmd/xl-storage-format-v2.go

    // sortsBefore can be used as a tiebreaker for stable sorting/selecting.
    // Returns false on ties.
    func (x xlMetaV2VersionHeader) sortsBefore(o xlMetaV2VersionHeader) bool {
    	if x == o {
    		return false
    	}
    	// Prefer newest modtime.
    	if x.ModTime != o.ModTime {
    		return x.ModTime > o.ModTime
    	}
    
    	// The following doesn't make too much sense, but we want sort to be consistent nonetheless.
    	// Prefer lower types
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  2. docs/debugging/xl-meta/main.go

    	}
    	return x, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (err error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := range versions {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TopKSelector.java

    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
     * <p>If your input data is available as a {@link Stream}, prefer passing {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              StrongKeyStrongValueSegment<K, V> segment,
              StrongKeyStrongValueEntry<K, V> entry,
              @Nullable StrongKeyStrongValueEntry<K, V> newNext) {
            StrongKeyStrongValueEntry<K, V> newEntry =
                newEntry(segment, entry.key, entry.hash, newNext);
            newEntry.value = entry.value;
            return newEntry;
          }
    
          @Override
          public void setValue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-openid.go

    			continue
    		}
    		arn := dummyRoleARN
    		if config.RoleARN != "" {
    			arn = config.RoleARN
    		}
    		roleArnMap[arn] = config.Name
    		newResp := make(map[string]madmin.OpenIDUserAccessKeys)
    		cfgToUsersMap[config.Name] = newResp
    	}
    	if len(roleArnMap) == 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminNoSuchConfigTarget), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:38:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 32 + info.size())
            // size8 rounds up to nearest multiple of 8
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 100;
            int expectedSize = (expectedRawSize + 7) & ~7; // Round up to nearest 8
            assertEquals(expectedSize, size);
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            // 10 bytes is more than enough for the 2-byte short
            raw = new byte[10];
            buf = new NdrBuffer(raw, 0);
        }
    
        /**
         * Validate that the constructor masks the supplied value to its
         * lowest 8 bits (NdrShort incorrectly masks to 8 bits even though it's a short).
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 })
        void constructorMasksValue(int input) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

            int newTableIndex = hash & newMask;
            int newNext = CompactHashing.tableGet(newTable, newTableIndex);
            CompactHashing.tableSet(newTable, newTableIndex, oldNext);
            entries[entryIndex] = CompactHashing.maskCombine(hash, newNext, newMask);
    
            oldNext = CompactHashing.getNext(oldEntry, oldMask);
          }
        }
    
        this.table = newTable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            int size = request.size();
    
            // Expected size calculation: size8(SMB2_HEADER_LENGTH + 40)
            // size8 rounds up to nearest multiple of 8
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40;
            int expectedSize = (expectedRawSize + 7) & ~7; // Round up to nearest 8
            assertEquals(expectedSize, size);
        }
    
        @Test
        @DisplayName("Test size method with input buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/LmhostsTest.java

            Thread.sleep(100);
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.200 NEWHOST\n");
            }
    
            // Should reload file and find new host
            result = lmhosts.getByName("NEWHOST", mockContext);
            assertNotNull(result);
    
            // Old host should not be found
            result = lmhosts.getByName("TESTHOST", mockContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top