Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 3,283 for SET (0.01 seconds)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java

     */
    
    package com.google.common.collect;
    
    import java.util.Set;
    
    /**
     * GWT emulation of {@link ImmutableEnumSet}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> {
      static <E> ImmutableSet<E> asImmutable(Set<E> delegate) {
        switch (delegate.size()) {
          case 0:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableEnumSet.java

      static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) {
        switch (set.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
            return ImmutableSet.of(getOnlyElement(set));
          default:
            return new ImmutableEnumSet<>(set);
        }
      }
    
      /*
       * Notes on EnumSet and <E extends Enum<E>>:
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingTable.java

      @Override
      public Set<Cell<R, C, V>> cellSet() {
        return delegate().cellSet();
      }
    
      @Override
      public void clear() {
        delegate().clear();
      }
    
      @Override
      public Map<R, V> column(@ParametricNullness C columnKey) {
        return delegate().column(columnKey);
      }
    
      @Override
      public Set<C> columnKeySet() {
        return delegate().columnKeySet();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

        }
    
        @Override
        public UpgradeResult doApply(UpgradeContext context, Map<Path, Document> pomMap) {
            Set<Path> processedPoms = new HashSet<>();
            Set<Path> modifiedPoms = new HashSet<>();
            Set<Path> errorPoms = new HashSet<>();
    
            try {
                // Phase 1: Write all modifications to temp directory (keeping project structure)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            }
    
            @Test
            @DisplayName("setRequestCredits should set credit value")
            void testSetRequestCredits() {
                int credits = 10;
                testRequest.setRequestCredits(credits);
                assertEquals(credits, testRequest.getCredit());
            }
    
            @Test
            @DisplayName("setTid should set tree ID")
            void testSetTid() {
                int tid = 12345;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPlugin.java

                String subdir = archiveTaskToSubprojectName(t.getName());
                t.getDestinationDirectory().set(project.file(subdir + "/build/distributions"));
                t.getArchiveBaseName().set(subdir.contains("oss") ? "elasticsearch-oss" : "elasticsearch");
            });
        }
    
        private void configureTarDefaults(Project project) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 22 19:01:26 GMT 2021
    - 7.9K bytes
    - Click Count (0)
  7. cmd/admin-router.go

    		adminRouter.Methods(http.MethodDelete).Path(adminVersion+"/remove-canned-policy").HandlerFunc(adminMiddleware(adminAPI.RemoveCannedPolicy)).Queries("name", "{name:.*}")
    
    		// Set user or group policy
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-user-or-group-policy").
    			HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MultimapBuilder.java

      private static final class HashSetSupplier<V extends @Nullable Object>
          implements Supplier<Set<V>>, Serializable {
        private final int expectedValuesPerKey;
    
        HashSetSupplier(int expectedValuesPerKey) {
          this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
        }
    
        @Override
        public Set<V> get() {
          return Platform.newHashSetWithExpectedSize(expectedValuesPerKey);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MultimapBuilder.java

      private static final class HashSetSupplier<V extends @Nullable Object>
          implements Supplier<Set<V>>, Serializable {
        private final int expectedValuesPerKey;
    
        HashSetSupplier(int expectedValuesPerKey) {
          this.expectedValuesPerKey = checkNonnegative(expectedValuesPerKey, "expectedValuesPerKey");
        }
    
        @Override
        public Set<V> get() {
          return Platform.newHashSetWithExpectedSize(expectedValuesPerKey);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  10. cmd/acl-handlers.go

    	AccessControlList struct {
    		Grants []grant `xml:"Grant"`
    	} `xml:"AccessControlList"`
    }
    
    // PutBucketACLHandler - PUT Bucket ACL
    // -----------------
    // This operation uses the ACL subresource
    // to set ACL for a bucket, this is a dummy call
    // only responds success if the ACL is private.
    func (api objectAPIHandlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketACL")
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 8.4K bytes
    - Click Count (0)
Back to Top