Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,302 for operators (0.05 seconds)

  1. guava/src/com/google/common/collect/CompactHashSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * CompactHashSet is an implementation of a Set. All optional operations (adding and removing) are
     * supported. The elements can be any objects.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

        checkNotNull(iterable);
        Iterators.checkNonnegative(position);
        if (iterable instanceof List) {
          List<? extends T> list = (List<? extends T>) iterable;
          return (position < list.size()) ? list.get(position) : defaultValue;
        } else {
          Iterator<? extends T> iterator = iterable.iterator();
          Iterators.advance(iterator, position);
          return Iterators.getNext(iterator, defaultValue);
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(1, Iterators.size(registry.getSubscribers(1)));
    
        registry.register(new IntegerSubscriber());
        assertEquals(3, Iterators.size(registry.getSubscribers("")));
        assertEquals(1, Iterators.size(registry.getSubscribers(new Object())));
        assertEquals(2, Iterators.size(registry.getSubscribers(1)));
      }
    
      public void testGetSubscribers_returnsImmutableSnapshot() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        assertEquals(1, Iterators.size(registry.getSubscribers(1)));
    
        registry.register(new IntegerSubscriber());
        assertEquals(3, Iterators.size(registry.getSubscribers("")));
        assertEquals(1, Iterators.size(registry.getSubscribers(new Object())));
        assertEquals(2, Iterators.size(registry.getSubscribers(1)));
      }
    
      public void testGetSubscribers_returnsImmutableSnapshot() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbResourceTest.java

                verify(mockResource).setLastAccess(testTime);
            }
        }
    
        @Nested
        @DisplayName("File Operations Tests")
        class FileOperationsTests {
    
            @Test
            @DisplayName("file creation operations should work correctly")
            void testFileCreation() throws CIFSException {
                // When/Then
                assertDoesNotThrow(() -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/dependencies/global-dependencies.md

    In that case, they will be applied to all the *path operations* in the application:
    
    {* ../../docs_src/dependencies/tutorial012_an_py39.py hl[17] *}
    
    
    And all the ideas in the section about [adding `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} still apply, but in this case, to all of the *path operations* in the app.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

      }
    
      /**
       * Returns true if there's another set of routes to attempt. Every address has at least one route.
       */
      operator fun hasNext(): Boolean = hasNextProxy() || postponedRoutes.isNotEmpty()
    
      @Throws(IOException::class)
      operator fun next(): Selection {
        if (!hasNext()) throw NoSuchElementException()
    
        // Compute the next set of routes to attempt.
        val routes = mutableListOf<Route>()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  8. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            double avgOpTimeNs = totalTime.get() / (double) operations.get();
    
            System.out.printf("Encryption Byte Tracking Performance: %d ops in %.2f ms%n", operations.get(), overallTimeMs);
            System.out.printf("  Avg atomic operation time: %.2f ns%n", avgOpTimeNs);
    
            // Verify lock-free performance (allowing for JVM overhead)
            assertTrue(avgOpTimeNs < 5000, "Atomic operations should be reasonably fast (no lock contention)");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  9. CLAUDE.md

    - **Deferred/Promise**: Async operations
    
    ### Index Alias Strategy
    
    Zero-downtime index updates using dual aliases:
    
    ```
    Index Naming: {baseIndex}.{timestamp}
    Example:      my-suggest.20250123120000
    
    Aliases:
    ├── Search Alias: {baseIndex}          (read operations)
    └── Update Alias: {baseIndex}.update   (write operations)
    ```
    
    ### Text Processing Pipeline
    
    ```
    Input Text
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

     * text during indexing and search operations.
     *
     * <p>Each mapping item consists of one or more input character sequences that are mapped to a single output
     * character sequence. The mapping supports both original values and new values for update operations.</p>
     */
    public class CharMappingItem extends DictionaryItem {
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top