Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3321 - 3330 of 3,588 for finally (0.05 sec)

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

        return new Builder<E>(size);
      }
    
      public static class Builder<E> extends ImmutableCollection.Builder<E> {
        // accessed directly by ImmutableSortedSet
        final ArrayList<E> contents;
    
        public Builder() {
          this.contents = Lists.newArrayList();
        }
    
        Builder(int initialCapacity) {
          this.contents = Lists.newArrayListWithCapacity(initialCapacity);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                int threadCount = 10;
                Thread[] threads = new Thread[threadCount];
                boolean[] success = new boolean[threadCount];
    
                for (int i = 0; i < threadCount; i++) {
                    final int index = i;
                    threads[i] = new Thread(() -> {
                        try {
                            Smb2EchoRequest req = new Smb2EchoRequest(mockConfig);
                            byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            AtomicInteger failureCount = new AtomicInteger(0);
    
            // Create multiple threads
            Thread[] threads = new Thread[10];
            for (int i = 0; i < threads.length; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    for (int j = 0; j < 10; j++) {
                        try {
                            if ((index + j) % 3 == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingSetTest extends TestCase {
      static class StandardImplForwardingSet<T> extends ForwardingSet<T> {
        private final Set<T> backingSet;
    
        StandardImplForwardingSet(Set<T> backingSet) {
          this.backingSet = backingSet;
        }
    
        @Override
        protected Set<T> delegate() {
          return backingSet;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/Collections2Test.java

        suite.addTest(testsForTransform());
        suite.addTestSuite(Collections2Test.class);
        return suite;
      }
    
      static final Predicate<@Nullable String> NOT_YYY_ZZZ =
          input -> !Objects.equals(input, "yyy") && !Objects.equals(input, "zzz");
    
      static final Predicate<String> LENGTH_1 = input -> input.length() == 1;
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

    class NegotiateContextRequestTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int BUFFER_SIZE = 1024;
    
        /**
         * Test custom implementation of NegotiateContextRequest for interface testing
         */
        static class TestNegotiateContextRequest implements NegotiateContextRequest {
            private final int contextType;
    
            TestNegotiateContextRequest(int contextType) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
     * @author Mike Bostock
     * @since 10.0
     */
    @GwtCompatible // but no-op!
    @NullMarked
    public final class SerializableTester {
      private SerializableTester() {}
    
      /**
       * Serializes and deserializes the specified object.
       *
       * <p><b>GWT warning:</b> Under GWT, this method simply returns its input, as proper GWT
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        assertTrue(multiset.contains("a"));
      }
    
      private static class NoRemoveMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
          implements Serializable {
        final Map<E, Integer> backingMap = new HashMap<>();
    
        @Override
        public int size() {
          return Multisets.linearTimeSizeImpl(this);
        }
    
        @Override
        public void clear() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    @NullUnmarked
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
          FluentIterable.of(
                  "base",
                  "cache",
                  "collect",
                  "escape",
                  "eventbus",
                  "graph",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top