Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 1,620 for emptify (0.07 seconds)

  1. src/test/java/jcifs/util/CryptoTest.java

            MessageDigest hmac = Crypto.getHMACT64(key);
            byte[] result = hmac.digest(data);
    
            // Then
            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

                    projectId,
                    "Should extract project ID from fileModel when effectiveModel and rawModel are null");
        }
    
        /**
         * Test extractProjectId returns empty string when all models are null.
         */
        @Test
        void testExtractProjectIdAllModelsNull() throws Exception {
            Method extractProjectIdMethod =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates a string is not null or empty
         *
         * @param value the string to validate
         * @param fieldName the field name for error reporting
         * @return the validated string
         * @throws IllegalArgumentException if string is null or empty
         */
        public static String requireNonEmpty(String value, String fieldName) {
            if (value == null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/EmptyEnumeration.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import java.util.Enumeration;
    
    /**
     * An empty {@link Enumeration}.
     *
     * @author higa
     * @param <T> the type of elements
     */
    public class EmptyEnumeration<T> extends IteratorEnumeration<T> {
    
        /**
         * Creates an {@link EmptyEnumeration}.
         */
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 993 bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

         *         otherwise an empty OptionalThing
         */
        public OptionalThing<Config> getConfig(final String fieldName) {
            final String value = params.get(fieldName);
            if (StringUtil.isNotBlank(value)) {
                return OptionalThing.of(new Config(value));
            }
            return OptionalThing.empty();
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        assertEquals(rangeMap.asMapOfRanges(), copy.asMapOfRanges());
      }
    
      // Overriding testEquals because it seems that we get spurious failures when it things empty
      // should be unequal to empty.
      public void testEquals() {
        TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create();
        TreeRangeMap<Integer, Integer> nonEmpty = TreeRangeMap.create();
        nonEmpty.put(Range.all(), 1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  7. okhttp-java-net-cookiejar/build.gradle.kts

    project.applyJavaModules("okhttp3.java.net.cookiejar")
    
    dependencies {
      "friendsApi"(projects.okhttp)
      compileOnly(libs.animalsniffer.annotations)
    }
    
    mavenPublishing {
      configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 595 bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            final ExtractData result = filenameExtractor.getText(in, null);
    
            assertNotNull(result);
            assertEquals("", result.getContent());
        }
    
        /**
         * Test extraction with empty parameters map.
         */
        public void test_getText_withEmptyParams() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
            final Map<String, String> params = new HashMap<>();
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. internal/cachevalue/cache.go

    		// There is a new value, release lock and return it.
    		if v = t.val.Load(); v != nil {
    			return *v, nil
    		}
    	}
    
    	if err := t.update(ctx); err != nil {
    		var empty T
    		return empty, err
    	}
    
    	return *t.val.Load(), nil
    }
    
    // Get will return a cached value or fetch a new one.
    // Tf the Update function returns an error the value is forwarded as is and not cached.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                }, validationErrorLambda);
            }
    
            final String oldPassword =
                    getSession().map(session -> (String) session.getAttribute(INVALID_OLD_PASSWORD)).orElse(StringUtil.EMPTY);
            getUserBean().ifPresent(user -> {
                final String userId = user.getUserId();
                fessLoginAssist.findLoginUser(new LocalUserCredential(userId, oldPassword)).orElseGet(() -> {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top