Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,117 for sets (0.17 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        // Each of the values added to the map should either still be there, or have seen a removal
        // notification.
        assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
        assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    				t.Fatalf("Failed to putObject %v", err)
    			}
    
    			partsMetadata, errs := readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    			fi, err := getLatestFileInfo(ctx, partsMetadata, z.serverPools[0].sets[0].defaultParityCount, errs)
    			if err != nil {
    				t.Fatalf("Failed to getLatestFileInfo %v", err)
    			}
    
    			for j := range partsMetadata {
    				if errs[j] != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            return isComplete;
        }
    
        /**
         * Gets the cache scope (ALL or IMMEDIATE_CHILDREN)
         * @return the cache scope
         */
        public DirectoryCacheScope getScope() {
            return scope;
        }
    
        /**
         * Sets the cache scope for this directory cache
         * @param scope the cache scope to set
         */
        public void setScope(DirectoryCacheScope scope) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Platform.java

      }
    
      /** Returns the platform preferred implementation of a set based on a hash table. */
      static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a thread-safe hash set. */
      static <E> Set<E> newConcurrentHashSet() {
        return ConcurrentHashMap.newKeySet();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            msg.setFlags(value);
            assertEquals(value, msg.getFlags(), "getFlags should return the value set");
        }
    
        @Test
        @DisplayName("setFlag true sets the bit")
        void testSetFlagTrue() {
            msg.setFlag(0x4, true);
            assertTrue(msg.getFlag(0x4), "Bit should be set after setFlag(true)");
        }
    
        @Test
        @DisplayName("setFlag false clears the bit")
        void testSetFlagFalse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/package-info.java

     * limitations under the License.
     */
    
    /**
     * An API for representing graph (node and edge) data. It is analogous to the Java Collections
     * Framework APIs for lists, maps, sets, etc.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.graph;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/RequestWithFileId.java

     * to reference a specific file using its file ID.
     *
     * @author mbechler
     */
    public interface RequestWithFileId {
    
        /**
         * Sets the file ID for this request.
         *
         * @param fileId the file ID to set
         */
        void setFileId(byte[] fileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/ValueHolder.java

            this.value = value;
        }
    
        /**
         * Returns the value.
         *
         * @return The value
         */
        public T getValue() {
            return value;
        }
    
        /**
         * Sets the value.
         *
         * @param value
         *            The value
         */
        public void setValue(final T value) {
            this.value = value;
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

        }
    
        /**
         * Gets the lease key for this acknowledgment
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the lease state being acknowledged
         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags for this acknowledgment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top