Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 142 for waits (0.12 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val logs = testLogHandler.takeAll()
        assertThat(firstFrame(logs, "HEADERS")!!, "header logged")
          .contains("HEADERS       END_HEADERS")
        // While MockWebServer waits to read the client's HEADERS frame before sending the response, it
        // doesn't wait to read the client's DATA frame and may send a DATA frame before the client
        // does. So we can't assume the client's empty DATA will be logged first.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

       * computes or retrieves it using the supplied {@code CacheLoader}. If another thread is currently
       * loading the value for this key, simply waits for that thread to finish and returns its loaded
       * value. Note that multiple threads can concurrently load values for distinct keys.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    	if !cache.WaitForNamedCacheSync("job", ctx.Done(), jm.podStoreSynced, jm.jobStoreSynced) {
    		return
    	}
    
    	for i := 0; i < workers; i++ {
    		go wait.UntilWithContext(ctx, jm.worker, time.Second)
    	}
    
    	go wait.UntilWithContext(ctx, jm.orphanWorker, time.Second)
    
    	<-ctx.Done()
    }
    
    // getPodJobs returns a list of Jobs that potentially match a Pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    		c.quic.cancel = cancel
    	} else if ctx.Done() != nil {
    		// Start the "interrupter" goroutine, if this context might be canceled.
    		// (The background context cannot).
    		//
    		// The interrupter goroutine waits for the input context to be done and
    		// closes the connection if this happens before the function returns.
    		done := make(chan struct{})
    		interruptRes := make(chan error, 1)
    		defer func() {
    			close(done)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(actual).isEqualTo(expected)
      }
    
      /**
       * Returns true when all work currently in progress by the watchdog have completed. This method
       * creates more work for the watchdog and waits for that work to be executed. When it is, we know
       * work that preceded this call is complete.
       */
      private fun awaitWatchdogIdle() {
        val latch = CountDownLatch(1)
        val watchdogJob: AsyncTimeout =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/pv_controller.go

    			}
    		}
    
    		// Despite the volume being Failed, the controller will retry deleting
    		// the volume in every syncVolume() call.
    		return pluginName, err
    	}
    	if !deleted {
    		// The volume waits for deletion by an external plugin. Do nothing.
    		return pluginName, nil
    	}
    
    	logger.V(4).Info("DeleteVolumeOperation: success", "volumeName", volume.Name)
    	// Delete the volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller.go

    		return
    	}
    
    	for i := 0; i < workers; i++ {
    		go wait.UntilWithContext(ctx, dsc.runWorker, time.Second)
    	}
    
    	go wait.Until(dsc.failedPodsBackoff.GC, BackoffGCInterval, ctx.Done())
    
    	<-ctx.Done()
    }
    
    func (dsc *DaemonSetsController) runWorker(ctx context.Context) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			default:
    				cacher.Lock()
    				cacher.bookmarkWatchers.popExpiredWatchersThreadUnsafe()
    				cacher.Unlock()
    			}
    		}
    	}()
    
    	// wait for adding/removing watchers to end
    	wg.Wait()
    
    	if watchErr != nil {
    		t.Fatal(watchErr)
    	}
    
    	// wait out the expiration period and pop expired watchers
    	time.Sleep(2 * time.Second)
    	cacher.Lock()
    	defer cacher.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf.go

    		})
    
    		// waitq<T>
    		dwws := d.mkinternaltype(ctxt, dwarf.DW_ABRV_STRUCTTYPE, "waitq", elemname, "", func(dww *dwarf.DWDie) {
    
    			d.copychildren(ctxt, dww, waitq)
    			d.substitutetype(dww, "first", d.defptrto(dwss))
    			d.substitutetype(dww, "last", d.defptrto(dwss))
    			newattr(dww, dwarf.DW_AT_byte_size, dwarf.DW_CLS_CONSTANT, getattr(waitq, dwarf.DW_AT_byte_size).Value, nil)
    		})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    			defer wg.Done()
    			mu.Lock()
    			mu.Unlock()
    		}()
    	}
    	wg.Wait()
    }
    
    func blockCond(t *testing.T) {
    	var mu sync.Mutex
    	c := sync.NewCond(&mu)
    	mu.Lock()
    	go func() {
    		awaitBlockedGoroutine(t, "sync.Cond.Wait", "blockCond", 1)
    		mu.Lock()
    		c.Signal()
    		mu.Unlock()
    	}()
    	c.Wait()
    	mu.Unlock()
    }
    
    // See http://golang.org/cl/299991.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top