Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 683 for sets (0.02 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

         */
        public int getRequestType() {
            return requestType;
        }
    
        /**
         * Sets the request type
         *
         * @param requestType The requestType to set.
         *                    The Request type value should be either
         *                    <code>TransferEvent.REQUEST_GET</code> or <code>TransferEvent.REQUEST_PUT</code>.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Interners.java

         */
        @CanIgnoreReturnValue
        @GwtIncompatible("java.lang.ref.WeakReference")
        public InternerBuilder weak() {
          this.strong = false;
          return this;
        }
    
        /**
         * Sets the concurrency level that will be used by the to-be-built {@link Interner}.
         *
         * @see MapMaker#concurrencyLevel(int)
         */
        @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                awaitUnchecked(barrier);
              }
            };
        Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet());
        Runnable collectResultsRunnable =
            new Runnable() {
              @Override
              public void run() {
                try {
                  String result = Uninterruptibles.getUninterruptibly(currentFuture.get());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        NavigableSet<String> set = Sets.newTreeSet(Ordering.natural());
                        for (Object e : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) e;
                          checkNotNull(entry.getValue());
                          set.add((String) checkNotNull(entry.getKey()));
                        }
                        return Maps.asMap(
                            set,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

     */
    public class JavadocConverter {
        private static final Pattern HEADER_PATTERN = Pattern.compile("h(\\d)", Pattern.CASE_INSENSITIVE);
        private static final Pattern ACCESSOR_COMMENT_PATTERN = Pattern.compile("(?:returns|sets)\\s+(the|whether)\\s+", Pattern.CASE_INSENSITIVE);
        private final Document document;
        private final JavadocLinkConverter linkConverter;
    
        public JavadocConverter(Document document, JavadocLinkConverter linkConverter) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            if (systemProperties != null) {
                this.systemProperties = new Properties();
                synchronized (
                        systemProperties) { // avoid concurrentmodification if someone else sets/removes an unrelated system
                    // property
                    this.systemProperties.putAll(systemProperties);
                }
            } else {
                this.systemProperties = null;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      }
    
      private abstract static class AtomicHelper {
        /** Performs an atomic compare-and-set of {@link AggregateFutureState#seenExceptionsField}. */
        abstract void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @Nullable Set<Throwable> expect, Set<Throwable> update);
    
        /** Performs an atomic decrement-and-get of {@link AggregateFutureState#remainingField}. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. cmd/bucket-replication.go

    				}
    			default:
    				bugLogIf(p.ctx, fmt.Errorf("unknown replication type: %T", oi), "unknown-replicate-type")
    			}
    		}
    	}
    }
    
    // ResizeLrgWorkers sets replication workers pool for large transfers(>=128MiB) to new size.
    // checkOld can be set to an expected value.
    // If the worker count changed
    func (p *ReplicationPool) ResizeLrgWorkers(n, checkOld int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.j2objc.annotations.Weak;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.EnumMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b");
        assertEquals(newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
        assertEquals(newHashSet("a", "b", "c"), set);
      }
    
      public void testCreation_fourElements() {
        Set<String> set = of("a", "b", "c", "d");
        assertEquals(newHashSet("a", "b", "c", "d"), set);
      }
    
      public void testCreation_fiveElements() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.4K bytes
    - Click Count (0)
Back to Top