Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,270 for cases (0.02 sec)

  1. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         */
        public static Class<?> getRawClass(final Type type) {
            return switch (type) {
            case Class<?> clazz -> clazz;
            case ParameterizedType paramType -> getRawClass(paramType.getRawType());
            case WildcardType wildcard -> getRawClass(wildcard.getUpperBounds()[0]);
            case GenericArrayType arrayType -> {
                Class<?> rawClass = getRawClass(arrayType.getGenericComponentType());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(execJob.jvmOptions.contains("-Xdebug"));
            assertTrue(execJob.jvmOptions.stream().anyMatch(opt -> opt.startsWith("-Xlog:gc")));
        }
    
        // Test edge cases and boundary conditions
        public void test_edgeCases() {
            // Test with empty strings
            execJob.sessionId("");
            assertEquals("", execJob.sessionId);
    
            execJob.logFilePath("");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multimap.java

       */
      int size();
    
      /**
       * Returns {@code true} if this multimap contains no key-value pairs. Equivalent to {@code size()
       * == 0}, but can in some cases be more efficient.
       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertTrue(str.contains("nativeFileSystem=NTFS"), "Should contain file system");
            }
        }
    
        /**
         * Tests for edge cases and error conditions
         */
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null configuration gracefully")
            void testNullConfiguration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/ReferralTest.java

            assertTrue(result.contains("path=null"));
            assertTrue(result.contains("altPath=null"));
            assertTrue(result.contains("node=NODE"));
        }
    
        // Edge Cases and Boundary Tests
    
        @Test
        public void testMaximumValues() {
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.putShort((short) 3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                fileAttributesField.setAccessible(true);
                assertEquals(0x01, fileAttributesField.get(response));
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle negative time values")
            void testNegativeTimeValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       * longer strings. It could have been one or the other throughout. The main advantage of the
       * combination is that CityHash has a bunch of special cases for short strings that don't need to
       * be replicated here. The result will never be 0 or 1.
       *
       * <p>This function is best understood as a <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
    
        // Log after all static init is finished; if an installed logger uses any Futures methods, it
        // shouldn't break in cases where reflection is missing/broken.
        if (thrownAtomicReferenceFieldUpdaterFailure != null) {
          log.get().log(SEVERE, "UnsafeAtomicHelper is broken!", thrownUnsafeFailure);
          log.get()
              .log(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  9. doc/go_spec.html

    </p>
    
    <pre>
    switch tag {
    default: s3()
    case 0, 1, 2, 3: s1()
    case 4, 5, 6, 7: s2()
    }
    
    switch x := f(); {  // missing switch expression means "true"
    case x &lt; 0: return -x
    default: return x
    }
    
    switch {
    case x &lt; y: f1()
    case x &lt; z: f2()
    case x == 4: f3()
    }
    </pre>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

     * allowed to be reclaimed if nobody is holding on to them. This is useful, for example, if one
     * wants to create a {@code Striped<Lock>} of many locks, but worries that in most cases only a
     * small portion of these would be in use.
     *
     * <p>Prior to this class, one might be tempted to use {@code Map<K, Lock>}, where {@code K}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top