Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,339 for Hafner (0.17 sec)

  1. docs/en/docs/advanced/events.md

    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Because this code is executed before the application **starts** taking requests, and right after it **finishes** handling requests, it covers the whole application **lifespan** (the word "lifespan" will be important in a second 😉).
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("B", peekingIterator.peek());
    
        /* Should complain on attempt to remove() after peek(). */
        try {
          peekingIterator.remove();
          fail("remove() should throw IllegalStateException after a peek()");
        } catch (IllegalStateException e) {
          /* expected */
        }
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. tests/associations_belongs_to_test.go

    	}
    
    	AssertAssociationCount(t, users, "Company", 2, "After Delete")
    
    	// Clear
    	DB.Model(&users).Association("Company").Clear()
    	AssertAssociationCount(t, users, "Company", 0, "After Clear")
    
    	DB.Model(&users).Association("Manager").Clear()
    	AssertAssociationCount(t, users, "Manager", 0, "After Clear")
    
    	// shared company
    	company := Company{Name: "shared"}
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  4. internal/dsync/dsync_test.go

    	dm.Unlock(context.Background())
    }
    
    // Test two locks for same resource, one succeeds, one fails (after timeout)
    func TestTwoSimultaneousLocksForSameResource(t *testing.T) {
    	dm1st := NewDRWMutex(ds, "aap")
    	dm2nd := NewDRWMutex(ds, "aap")
    
    	dm1st.Lock(id, source)
    
    	// Release lock after 10 seconds
    	go func() {
    		time.Sleep(5 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. tests/associations_has_one_test.go

    		t.Fatalf("Error happened when delete account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Account").Delete(&account2); err != nil {
    		t.Fatalf("Error happened when delete Account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 0, "after delete")
    
    	// Prepare Data for Clear
    	account = Account{Number: "account-has-one-append"}
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

        public void afterSessionStart(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
         *
         * This callback is intended to allow extensions to perform cleanup of any
         * allocated external resources after the build. It is invoked on best-effort
         * basis and may be missed due to an Error or RuntimeException in Maven core
         * code.
         *
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  7. internal/grid/types_test.go

    	left, err := v2.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) != 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    	if !reflect.DeepEqual(v, v2) {
    		t.Errorf("MSS: %v != %v", v, v2)
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

    ...
    CSS
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 7.9K bytes
    - Viewed (0)
  9. callbacks/callbacks.go

    	createCallback.Register("gorm:save_before_associations", SaveBeforeAssociations(true))
    	createCallback.Register("gorm:create", Create(config))
    	createCallback.Register("gorm:save_after_associations", SaveAfterAssociations(true))
    	createCallback.Register("gorm:after_create", AfterCreate)
    	createCallback.Match(enableTransaction).Register("gorm:commit_or_rollback_transaction", CommitOrRollbackTransaction)
    	createCallback.Clauses = config.CreateClauses
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Oct 27 23:56:55 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/EventListener.kt

      }
    
      /**
       * Invoked immediately after a TLS connection was attempted.
       *
       * This method is invoked after [secureConnectStart].
       */
      open fun secureConnectEnd(
        call: Call,
        handshake: Handshake?,
      ) {
      }
    
      /**
       * Invoked immediately after a socket connection was attempted.
       *
       * If the `call` uses HTTPS, this will be invoked after [secureConnectEnd], otherwise it will
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top