Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 4,698 for uses (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertNotNull(object);
          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertNotNull(object);
          assertSame(object, striped.getAt(i)); // idempotent
          observed.add(object);
        }
        assertTrue("All stripes observed", observed.size() == striped.size());
    
        // this uses #get(key), makes sure an already observed stripe is returned
        for (int i = 0; i < striped.size() * 100; i++) {
          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            WitnessRpcClient mockRpc = mock(WitnessRpcClient.class);
            lenient().when(mockRpc.register(any(WitnessRegisterRequest.class))).thenReturn(mockResponse);
    
            // Create a test witness client that uses our mock RPC client
            TestWitnessClient client = new TestWitnessClient(witnessServer, mockContext, mockRpc);
    
            TestNotificationListener listener = new TestNotificationListener();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/openapi-callbacks.md

    These invoices will have an `id`, `title` (optional), `customer`, and `total`.
    
    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Then your API will (let's imagine):
    
    * Send the invoice to some customer of the external developer.
    * Collect the money.
    * Send a notification back to the API user (the external developer).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractListMultimap.java

     */
    @GwtCompatible
    abstract class AbstractListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapBasedMultimap<K, V> implements ListMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractListMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

                // Then
                // Provider should still use FessUserTimeZoneProcessProvider.centralTimeZone
                // which was set when the class was loaded
                TimeZone providedTimeZone = provider.provide();
                assertNotNull(providedTimeZone);
                // The provider uses the static centralTimeZone which captures the original default
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * The returned list should be used once and discarded. For any usages beyond that, pass the
       * returned list to {@link com.google.common.collect.ImmutableList#copyOf(Collection)
       * ImmutableList.copyOf} and use that list instead.
       */
      public List<Integer> asList() {
        /*
         * Typically we cache this kind of thing, but much repeated use of this view is a performance
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Arrange
            String domain = "Domain";
            String user = "User";
            String password = "password";
    
            // Act
            byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password));
            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
            // Assert: overloads consistent
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb1/smb1/BufferCache.java

    import jcifs.smb1.Config;
    
    /**
     * Buffer cache implementation for SMB1 protocol operations.
     * Manages a pool of byte buffers to reduce garbage collection overhead.
     *
     * Performance optimizations:
     * - Uses ConcurrentLinkedQueue for O(1) operations
     * - Lock-free operations for better concurrency
     * - Proper buffer validation and limits
     */
    public class BufferCache {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * This method searches for 'fess_ds++.xml' configuration files within JAR files
         * in the data store plugin directory and extracts component class names.
         *
         * <p>The method uses secure XML parsing features to prevent XXE attacks and
         * other XML-based vulnerabilities. Component class names are extracted from
         * the 'class' attribute of 'component' elements in the XML files.</p>
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top