Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2381 - 2390 of 3,176 for Then (0.18 seconds)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.security.SecureRandom;
    import java.util.Arrays;
    import java.util.Random;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                if ((member instanceof JApiClass) && member.getCompatibilityChanges().isEmpty()) {
                    // A member of the class breaks binary compatibility.
                    // That will be handled when the member is passed to `maybeViolation`.
                    return null;
                }
                if (member instanceof JApiImplementedInterface) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

         */
        public ClingSupport() {
            this(new ClassWorld(CORE_CLASS_REALM_ID, Thread.currentThread().getContextClassLoader()), true);
        }
    
        /**
         * Ctor to be used when running in ClassWorlds Launcher.
         */
        public ClingSupport(ClassWorld classWorld) {
            this(classWorld, false);
        }
    
        private ClingSupport(ClassWorld classWorld, boolean classWorldManaged) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java

                .collect(Collectors.toMap(file -> rootDir.relativize(file.toURI()).toString(), ChangelogEntry::parse));
    
            // We don't try to find all such errors, because we expect them to be rare e.g. only
            // when a new file is added.
            changelogs.forEach((path, entry) -> {
                final String type = entry.getType();
    
                if (type.equals("known-issue") == false && type.equals("security") == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

        /** The unique identifier for this dictionary file. */
        protected String id;
    
        /** The file path of this dictionary. */
        protected String path;
    
        /** The timestamp when this dictionary file was created or last modified. */
        protected Date timestamp;
    
        /**
         * Creates a new DictionaryFile with the specified parameters.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ForwardingMap.java

     * provided {@code standardPutAll} method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingMap}.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equals} to test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Should throw exception due to authentication tag failure
            assertThrows(GeneralSecurityException.class, () -> {
                storage.decryptCredentials(encrypted);
            }, "Should throw GeneralSecurityException when decrypting tampered data");
    
            // Clean up
            Arrays.fill(plaintext, '\0');
        }
    
        @Test
        public void testDecryptWithWrongSalt() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. tests/helper_test.go

    }
    
    func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) {
    	if pet.ID != 0 {
    		var newPet Pet
    		if err := db(unscoped).Where("id = ?", pet.ID).First(&newPet).Error; err != nil {
    			t.Fatalf("errors happened when query: %v", err)
    		} else {
    			AssertObjEqual(t, newPet, pet, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name")
    			AssertObjEqual(t, newPet, expect, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name")
    		}
    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)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusTask.kt

        }
    
        @TaskAction
        fun action() {
            val nullawayIncompatibleDeps = nullawayAwareDeps.get().filter { it.hasNullAwayDisabled }
            val service = statusService.get()
            when {
                nullawayEnabled.get() -> service.addProjectWithNullawayEnabled(projectPath)
                nullawayIncompatibleDeps.isEmpty() -> service.addProjectToEnableNullawayIn(projectPath)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

     */
    @NullUnmarked
    public class AbstractBiMapTest extends TestCase {
    
      // The next two tests verify that map entries are not accessed after they're
      // removed, since IdentityHashMap throws an exception when that occurs.
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityKeySetIteratorRemove() {
        BiMap<Integer, String> bimap =
            new AbstractBiMap<Integer, String>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top