Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 402 for integration (1.51 sec)

  1. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
                Currency.FRANC, Country.SWITZERLAND);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

        @Test
        @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too")
        void constructor_withDelegate_acquireAndReleaseForwarded() {
            // Arrange: delegate we can spy on for interaction verification
            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace delegate = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * entries will not be returned by the iterator. If existing entries are removed during iteration,
       * they will be absent (unless they were already returned).
       *
       * If there are I/O problems during iteration, this iterator fails silently. For example, if the
       * hosting filesystem becomes unreachable, the iterator will omit elements rather than throwing
       * exceptions.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/FileEntryTest.java

        private interface IntGetter {
            int apply(FileEntry e);
        }
    
        private interface LongGetter {
            long apply(FileEntry e);
        }
    
        // --- Mockito-based interaction tests ---
    
        @Test
        @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions")
        void mockedEntry_happyPath_and_interactions() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.plugin.MojoExecution;
    
    /**
     * A stub implementation that assumes an empty lifecycle to bypass interaction with the plugin manager and to avoid
     * plugin artifact resolution from repositories.
     *
     */
    @Deprecated
    public class EmptyLifecycleExecutor implements LifecycleExecutor {
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/mips.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the
    // MIPS (MIPS64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/mips"
    )
    
    func jumpMIPS(word string) bool {
    	switch word {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 04 19:06:44 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

    import java.util.Collection;
    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * CompactLinkedHashSet is an implementation of a Set, which a predictable iteration order that
     * matches the insertion order. All optional operations (adding and removing) are supported. All
     * elements, including {@code null}, are permitted.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

                i.next();
            }
            System.out.println("HashMap iteration:" + (System.currentTimeMillis() - start));
    
            start = System.currentTimeMillis();
            for (Iterator<Map.Entry<String, Object>> i = amap.entrySet().iterator(); i.hasNext();) {
                i.next();
            }
            System.out.println("ArrayMap iteration:" + (System.currentTimeMillis() - start));
    
            start = System.currentTimeMillis();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/GraphBuilder.java

      public GraphBuilder<N> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount));
        return this;
      }
    
      /**
       * Specifies the order of iteration for the elements of {@link Graph#nodes()}.
       *
       * <p>The default value is {@link ElementOrder#insertion() insertion order}.
       */
      public <N1 extends N> GraphBuilder<N1> nodeOrder(ElementOrder<N1> nodeOrder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            SmbResource r2 = it.next();
            assertNotNull(r2);
            assertEquals("bar/", r2.getName(), "Second child name should match with trailing slash");
    
            // End of iteration behavior
            assertFalse(it.hasNext(), "No more elements expected");
            assertNull(it.next(), "next() returns null when exhausted in this implementation");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top