Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1301 - 1310 of 1,673 for CASE (0.03 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                assertEquals("Extension for " + mimeType + " should be empty", "", generator.getExtensionFromMimeType(mimeType));
            }
        }
    
        // Test case sensitivity (current implementation is case-sensitive)
        @Test
        public void test_getExtensionFromMimeType_caseSensitive() {
            assertEquals("", generator.getExtensionFromMimeType("IMAGE/GIF"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        }
    
        private int getKeyLength() {
            // Java 17 switch expression for cipher key length determination
            return switch (this.cipherId) {
            case CIPHER_AES_128_CCM, CIPHER_AES_128_GCM -> 16; // AES-128 ciphers use 16-byte keys
            case CIPHER_AES_256_CCM, CIPHER_AES_256_GCM -> 32; // AES-256 ciphers use 32-byte keys
            default -> throw new IllegalArgumentException("Unsupported cipher: " + this.cipherId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/Striped.java

    @J2ktIncompatible
    @GwtIncompatible
    public abstract class Striped<L> {
      /**
       * If there are at least this many stripes, we assume the memory usage of a ConcurrentMap will be
       * smaller than a large array. (This assumes that in the lazy case, most stripes are unused. As
       * always, if many stripes are in use, a non-lazy striped makes more sense.)
       */
      private static final int LARGE_LAZY_CUTOFF = 1024;
    
      private Striped() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

           * cause set to the underlying exception (which may be from another thread). If we someday
           * learn that some other exception besides IllegalArgumentException is common, then we could
           * add another special case to throw an instance of it, too.
           */
          throw e;
        }
      }
    
      private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * to the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
     * the behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            ALLOWS_NULL_KEYS);
      }
    
      /**
       * Map generator that verifies that {@code setUp()} methods are called in all the test cases. The
       * {@code setUpRan} parameter is set true by the {@code setUp} that every test case is supposed to
       * have registered, and set false by the {@code tearDown}. We use a dynamic proxy to intercept all
       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals(builder, result); // Test method chaining
            assertEquals("test_index", builder.settingsIndexName);
    
            // Test setting index name with mixed case
            builder.setSettingsIndexName("TeSt_InDeX_NaMe");
            assertEquals("test_index_name", builder.settingsIndexName);
    
            // Test setting index name that's already lowercase
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       * observed contention rates are typically low in these cases.
       *
       * It is possible for a Cell to become unused when threads that
       * once hashed to it terminate, as well as in the case where
       * doubling the table causes no thread to hash to it under
       * expanded mask.  We do not try to detect or remove such cells,
       * under the assumption that for long-running instances, observed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. cmd/postpolicyform_test.go

    	policyCondFailedErr := "Invalid according to Policy: Policy Condition failed"
    
    	type testCase struct {
    		name    string
    		fv      formValues
    		expired bool
    		wantErr string
    	}
    
    	// Test case just contains fields we override from defaultFormVals.
    	testCases := []testCase{
    		{
    			name:    "happy path no errors",
    			fv:      defaultFormVals.Clone(),
    			wantErr: "",
    		},
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top