Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 891 - 900 of 3,237 for Call (0.02 seconds)

  1. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * object to facilitate testing.
       */
      private final SleepingStopwatch stopwatch;
    
      // Can't be initialized in the constructor because mocks don't call the constructor.
      private volatile @Nullable Object mutexDoNotUseDirectly;
    
      private Object mutex() {
        Object mutex = mutexDoNotUseDirectly;
        if (mutex == null) {
          synchronized (this) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/curl/CurlTest.java

            assertTrue("CONNECT method should exist", hasConnect);
        }
    
        @Test
        public void test_FactoryMethodsReturnNewInstances() {
            // ## Test that each factory method call returns a new instance ##
    
            // ## Act ##
            final CurlRequest request1 = Curl.get("http://example.com");
            final CurlRequest request2 = Curl.get("http://example.com");
    
            // ## Assert ##
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

            checkArgument(edges().contains(edge));
            return edge;
          }
    
          // Don't override the existing edge[s]Connecting() or *degree() AbstractNetwork
          // implementations; they call in/outEdges() and should be fine.
        };
      }
    
      /**
       * Throws {@code IllegalArgumentException} if the ordering of {@code endpoints} is not compatible
       * with the directionality of this graph.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/CloserTest.java

        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
        private final Throwable suppressed;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

                    } catch (final IOException ioe) {
                        ioe.printStackTrace(log);
                    }
                }
            }
        }
    
        /* Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/BaseEncoding.java

              return true;
            }
          }
          return false;
        }
    
        Alphabet upperCase() {
          if (!hasLowerCase()) {
            return this;
          }
          checkState(!hasUpperCase(), "Cannot call upperCase() on a mixed-case alphabet");
          char[] upperCased = new char[chars.length];
          for (int i = 0; i < chars.length; i++) {
            upperCased[i] = Ascii.toUpperCase(chars[i]);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 41.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                for (int i = 0; i < 10; i++) {
                    assertSame(mockConfig, mockSession.getConfig(), "getConfig should return same result on call " + i);
                }
    
                verify(mockSession, times(10)).getConfig();
            }
    
            @Test
            @DisplayName("Should handle concurrent access patterns")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                entry.dfs_name = "consistent_share_" + i;
                testArray.s[i] = entry;
            }
    
            setDfsEnumArray(dfsRootEnum, testArray);
    
            // Call getEntries multiple times
            FileEntry[] entries1 = dfsRootEnum.getEntries();
            FileEntry[] entries2 = dfsRootEnum.getEntries();
            FileEntry[] entries3 = dfsRootEnum.getEntries();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Tables.java

       * {@code factory.get()} does.
       *
       * <p>Call this method only when the simpler factory methods in classes like {@link
       * HashBasedTable} and {@link TreeBasedTable} won't suffice.
       *
       * <p>The views returned by the {@code Table} methods {@link Table#column}, {@link
       * Table#columnKeySet}, and {@link Table#columnMap} have iterators that don't support {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should have failed");
      }
    
      /** An interface for the 2 ways that a chaining call might be defined. */
      private interface ChainingCalls {
        // A method that is defined to 'return this'
        @CanIgnoreReturnValue
        ChainingCalls chainingCall();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
Back to Top