- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 935 for timer (0.02 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
import static org.mockito.Mockito.atLeastOnce; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
model.go
package gorm import "time" // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt // It may be embedded into your model or you may build your own model without it // // type User struct { // gorm.Model // } type Model struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt DeletedAt `gorm:"index"`
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Feb 18 01:06:43 UTC 2023 - 396 bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Success should reset counter assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordSuccess(username, ip); // Should be able to fail 3 more times before lockout for (int i = 0; i < 3; i++) { assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip); } // Now should be locked out
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
callbacks/create_test.go
Age: 18, }, { ID: 2, Name: "bob", Email: "email", Age: 19, }, } stmt := &gorm.Statement{ DB: &gorm.DB{ Config: &gorm.Config{ NowFunc: func() time.Time { return time.Time{} }, }, Statement: &gorm.Statement{ Settings: sync.Map{}, Schema: s, }, }, ReflectValue: reflect.ValueOf(dest), Dest: dest, } stmt.Schema = s
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
assertEquals(3000L, mockAllocInfo.getCapacity()); assertEquals(1500L, mockAllocInfo.getFree()); verify(mockAllocInfo, times(3)).getCapacity(); verify(mockAllocInfo, times(3)).getFree(); } @Test @DisplayName("Should return mocked file system information class") void shouldReturnMockedFileSystemInformationClass() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
cmd/metrics-v3-cluster-iam.go
pluginAuthnServiceLastSuccSecondsMD = NewCounterMD(pluginAuthnServiceLastSuccSeconds, "When plugin authentication is configured, returns time (in seconds) since the last successful request to the service")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu May 02 08:20:42 UTC 2024 - 4.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
.url(server!!.url("/")) .build(), ) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isIn("timeout", "Read timed out") } assertThat(listener.recordedEventTypes()).containsExactly( "ConnectStart", "ConnectEnd", "ConnectionAcquired", "NoNewExchanges", "ConnectionReleased",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
int expected = force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); UnsignedInteger unsignedMul = aUnsigned.times(bUnsigned); assertWithMessage(aUnsigned + " * " + bUnsigned) .that(unsignedMul.intValue()) .isEqualTo(expected); } } } public void testDividedBy() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* note that the execution order of all listeners is ultimately chosen by the implementations of * the supplied executors. * * <p>This method is idempotent. Calling it several times in parallel is semantically equivalent * to calling it exactly once. * * @since 10.0 (present in 1.0 as {@code run}) */ public void execute() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time") sysCPULoadMD = NewGaugeMD(sysCPULoad, "CPU load average 1min") sysCPULoadPercMD = NewGaugeMD(sysCPULoadPerc, "CPU load average 1min (percentage)") sysCPUNiceMD = NewGaugeMD(sysCPUNice, "CPU nice time") sysCPUStealMD = NewGaugeMD(sysCPUSteal, "CPU steal time")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 3K bytes - Viewed (0)