Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,158 for operators (0.04 sec)

  1. 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(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Lists.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.Iterators.elementsEqual;
    import static java.lang.Math.min;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  4. 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>()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. 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 {
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. 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)");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Cache.java

       *
       */
      CacheStats stats();
    
      /**
       * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to
       * the map directly affect the cache.
       *
       * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. 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);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  9. 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[16] *}
    
    
    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.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Path operations* with `APIRouter` { #path-operations-with-apirouter }
    
    And then you use it to declare your *path operations*.
    
    Use it the same way you would use the `FastAPI` class:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top