Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,143 for isSame (0.06 sec)

  1. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *     throw new IllegalArgumentException("Cannot contain wildcard type.");
     *   }
     * }.visit(type);
     * }
     *
     * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's
     * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds.
     *
     * <p>This class is not thread safe.
     *
     * @author Ben Yu
     */
    abstract class TypeVisitor {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Language.java

     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface Language extends ExtensibleEnum {
    
        /**
         * The "none" language. It is not versioned, family is same to itself, and compatible with itself only.
         * In turn, every {@link Language} implementation must be compatible with {@code NONE} language.
         */
        Language NONE = language("none");
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 12:22:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            FessSystemException exception1 = new FessSystemException("Test");
            FessSystemException exception2 = new FessSystemException("Test");
    
            // Both instances should be of the same class
            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     * the following strategies:
     *
     *  1. If the current call already has a connection that can satisfy the request it is used. Using
     *     the same connection for an initial exchange and its follow-ups may improve locality.
     *
     *  2. If there is a connection in the pool that can satisfy the request it is used. Note that it is
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/DummyProxy.java

     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/cmd/addr2line/addr2line_test.go

    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    	}
    	if want := "102"; srcLineNo != want {
    		t.Fatalf("line number = %v; want %s", srcLineNo, want)
    	}
    }
    
    // This is line 101. The test depends on that.
    func TestAddr2Line(t *testing.T) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

        @Override
        public ImmutableListMultimap<K, V> build() {
          return (ImmutableListMultimap<K, V>) super.build();
        }
      }
    
      /**
       * Returns an immutable multimap containing the same mappings as {@code multimap}. The generated
       * multimap's key and value orderings correspond to the iteration ordering of the {@code
       * multimap.asMap()} view.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            void testGetCreationTime() {
                assertEquals(0, response.getCreationTime());
            }
    
            @Test
            @DisplayName("getCreateTime should return same as getCreationTime")
            void testGetCreateTime() {
                assertEquals(response.getCreationTime(), response.getCreateTime());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertFalse(labelTypeHelper.matchLocale(Locale.US, Locale.UK));
    
            // Test with same language but different country
            Locale enUS = new Locale("en", "US");
            Locale enGB = new Locale("en", "GB");
            assertFalse(labelTypeHelper.matchLocale(enUS, enGB));
    
            // Test with same language, target has no country
            Locale en = new Locale("en");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top