- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 933 for Second (0.1 sec)
-
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
assertTrue(handler.getStoredLogRecords().isEmpty()); ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertEquals("message", record.getMessage()); assertSame(EXCEPTION, record.getThrown()); } public void testConcurrentModification() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer.go
// This setting should be called before any Read or Write operation or after a Reset. func (r *RingBuffer) SetBlocking(block bool) *RingBuffer { r.block = block if block { r.readCond = sync.NewCond(&r.mu) r.writeCond = sync.NewCond(&r.mu) } return r } // WithCancel sets a context to cancel the ring buffer. // When the context is canceled, the ring buffer will be closed with the context error.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
var throttleBytesPerPeriod: Long = mockResponse.throttleBytesPerPeriod throttleBytesPerPeriod = mockResponse.throttleBytesPerPeriod var throttlePeriod: Long = mockResponse.getThrottlePeriod(TimeUnit.SECONDS) mockResponse = mockResponse.setBodyDelay(0L, TimeUnit.SECONDS) val bodyDelay: Long = mockResponse.getBodyDelay(TimeUnit.SECONDS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
s := bufio.NewScanner(f) s.Split(bufio.ScanLines) var ( t time.Duration skip, record bool ) for s.Scan() { line := s.Text() switch { case skip && line != "": case skip && line == "": skip = false case record && line == "": stackTrace := bf.String() reset() record = false if searchRE == nil || searchRE.MatchString(stackTrace) { ret[t] = append(ret[t], stackTrace)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
exec.execute(task); runLatch.await(); taskLatch.countDown(); ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, SECONDS)); assertEquals(IllegalStateException.class, e.getCause().getClass()); assertTrue(listenerLatch.await(5, SECONDS)); assertTrue(task.isDone()); assertFalse(task.isCancelled()); } public void testListenerCalledOnCancelFromNotRunning() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
tests/delete_test.go
t.Errorf("should raise record not found error, but got error %v", err) } var result3 UserWithDelete if err := DB.Table("deleted_users").Unscoped().First(&result3, user.ID).Error; err != nil { t.Fatalf("failed to find record, got error %v", err) } if err := DB.Table("deleted_users").Unscoped().Delete(&result).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0) -
internal/s3select/select.go
"github.com/minio/pkg/v3/env" "github.com/minio/simdjson-go" "github.com/pierrec/lz4/v4" ) type recordReader interface { // Read a record. // dst is optional but will be used if valid. Read(dst sql.Record) (sql.Record, error) Close() error } const ( csvFormat = "csv" jsonFormat = "json" parquetFormat = "parquet" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 21.2K bytes - Viewed (0) -
api/go1.21.txt
pkg log/slog, method (*Logger) With(...interface{}) *Logger #56345 pkg log/slog, method (*Record) AddAttrs(...Attr) #56345 pkg log/slog, method (*Record) Add(...interface{}) #56345 pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060 pkg log/slog, method (Record) Clone() Record #56345 pkg log/slog, method (Record) NumAttrs() int #56345 pkg log/slog, method (*TextHandler) Enabled(context.Context, Level) bool #56345
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
* the License. */ package com.google.common.util.concurrent.testing; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.util.concurrent.TimeUnit.SECONDS; import com.google.common.annotations.GwtIncompatible; import com.google.common.util.concurrent.ListenableFuture; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
level.intValue() == Level.INFO.intValue() -> Log.INFO else -> Log.DEBUG } object AndroidLogHandler : Handler() { override fun publish(record: LogRecord) { androidLog(record.loggerName, record.androidLevel, record.message, record.thrown) } override fun flush() { } override fun close() { } } @SuppressSignatureCheck object AndroidLog {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.9K bytes - Viewed (0)