- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 937 for sekund (0.2 sec)
-
internal/lsync/lrwmutex_test.go
lrwm := NewLRWMutex() if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("1st read lock acquired, waiting...") if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("2nd read lock acquired, waiting...") go func() { time.Sleep(2 * time.Second) lrwm.RUnlock()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 05 04:57:35 GMT 2023 - 7.9K bytes - Viewed (0) -
utils/tests/utils.go
isEqual := func() { if curTime, ok := got.(time.Time); ok { format := "2006-01-02T15:04:05Z07:00" if curTime.Round(time.Second).UTC().Format(format) != expect.(time.Time).Round(time.Second).UTC().Format(format) && curTime.Truncate(time.Second).UTC().Format(format) != expect.(time.Time).Truncate(time.Second).UTC().Format(format) { t.Errorf("%v: expect: %v, got %v after time round", utils.FileWithLineNum(), expect.(time.Time), curTime) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Mar 10 09:21:56 GMT 2023 - 3.9K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt
""" |data: first event |id: 1 | |data: second event |id | |data: third event | | """.trimMargin(), ) assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event")) assertThat(callbacks.remove()).isEqualTo(Event(null, null, "second event")) assertThat(callbacks.remove()).isEqualTo(Event(null, null, "third event")) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Viewed (0) -
cmd/update-notifier_test.go
{0, "another_update_url", ""}, {time.Hour, "", ""}, {0 * time.Second, "my_download_url", "now"}, {1 * time.Second, "my_download_url", "1 second before the latest release"}, {37 * time.Second, "my_download_url", "37 seconds before the latest release"}, {60 * time.Second, "my_download_url", "1 minute before the latest release"}, {61 * time.Second, "my_download_url", "1 minute before the latest release"}, // Testcase index 10
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 31 15:36:19 GMT 2023 - 4.1K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
if (grad_it == gradients.end()) { result[i] = nullptr; } else { if (grad_it->second.size() > 1) { Gradient* grad = vspace.AggregateGradients(grad_it->second); grad_it->second.clear(); grad_it->second.push_back(grad); } result[i] = grad_it->second[0]; used_gradient_ids.insert(tensor_id); } } VLOG(1) << "Final gradients size: "
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
docs/metrics/prometheus/list.md
| `minio_node_drive_reads_per_sec` | Reads per second on a drive. | | `minio_node_drive_reads_kb_per_sec` | Kilobytes read per second on a drive. | | `minio_node_drive_reads_await` | Average time for read requests to be served on a drive. | | `minio_node_drive_writes_per_sec` | Writes per second on a drive. |
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 22:01:31 GMT 2024 - 43.4K bytes - Viewed (2) -
src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js
//highlight any predefined range matching the current...
JavaScript - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 13 04:21:06 GMT 2020 - 65.7K bytes - Viewed (0) -
cmd/admin-heal-ops.go
for { h.mutex.Lock() itemsLen = len(h.currentStatus.Items) if itemsLen == maxUnconsumedHealResultItems { // wait for a second, or quit if an external // stop signal is received or the // unconsumedTimer fires. select { // Check after a second case <-time.After(time.Second): h.mutex.Unlock() continue case <-h.ctx.Done(): h.mutex.Unlock() // discard result and return.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 25.1K bytes - Viewed (1) -
src/main/java/org/codelibs/core/misc/Pair.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0) -
cmd/erasure.go
// This goroutine owns the cache. var saverWg sync.WaitGroup saverWg.Add(1) go func() { // Add jitter to the update time so multiple sets don't sync up. updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64()) t := time.NewTicker(updateTime) defer t.Stop() defer saverWg.Done() var lastSave time.Time for { select { case <-t.C:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 06:32:14 GMT 2024 - 16K bytes - Viewed (1)