Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 91 for Roll (0.21 sec)

  1. src/os/os_windows_test.go

    	if err = os.Chmod(p, 0400); err != nil {
    		t.Fatal(err)
    	}
    	if err = os.Remove(p); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestReadStdin(t *testing.T) {
    	old := poll.ReadConsole
    	defer func() {
    		poll.ReadConsole = old
    	}()
    
    	p, err := syscall.GetCurrentProcess()
    	if err != nil {
    		t.Fatalf("Unable to get handle to current process: %v", err)
    	}
    	var stdinDuplicate syscall.Handle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

            clearValueReferenceQueue();
          }
        }
    
        void clearKeyReferenceQueue() {
          while (keyReferenceQueue.poll() != null) {}
        }
    
        void clearValueReferenceQueue() {
          while (valueReferenceQueue.poll() != null) {}
        }
    
        // recency queue, shared by expiration and eviction
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/volume_manager_test.go

    		v1.UniqueVolumeName(node.Status.VolumesAttached[0].Name),
    		stopCh,
    		manager)
    
    	// delayed claim binding
    	go delayClaimBecomesBound(kubeClient, claim.GetNamespace(), claim.ObjectMeta.Name)
    
    	err = wait.Poll(100*time.Millisecond, 1*time.Second, func() (bool, error) {
    		err = manager.WaitForAttachAndMount(context.Background(), pod)
    		if err != nil {
    			// Few "PVC not bound" errors are expected
    			return false, nil
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
      }
    
      void checkEmpty(BlockingQueue<?> q) {
        try {
          assertTrue(q.isEmpty());
          assertEquals(0, q.size());
          assertNull(q.peek());
          assertNull(q.poll());
          assertNull(q.poll(0, MILLISECONDS));
          assertEquals("[]", q.toString());
          assertTrue(Arrays.equals(q.toArray(), new Object[0]));
          assertFalse(q.iterator().hasNext());
          try {
            q.element();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_darwin.go

    //sys	Flock(fd int, how int) (err error)
    //sys	Fpathconf(fd int, name int) (val int, err error)
    //sys	Fsync(fd int) (err error)
    //  Fsync is not called for os.File.Sync(). Please see internal/poll/fd_fsync_darwin.go
    //sys	Ftruncate(fd int, length int64) (err error)
    //sys	Getdtablesize() (size int)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/apiclient/wait.go

    			if hash == previousHash {
    				return false, nil
    			}
    
    			return true, nil
    		})
    
    	// If lastError is not nil, this must be a getStaticPodSingleHash() error, else if err is not nil there was a poll timeout
    	if lastErr != nil {
    		return lastErr
    	}
    	return errors.Wrapf(err, "static Pod hash for component %s on Node %s did not change after %v", component, nodeName, w.timeout)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          while (true) {
            Future<T> f = futureQueue.poll();
            if (f == null) {
              if (ntasks > 0) {
                --ntasks;
                futures.add(submitAndAddQueueListener(executorService, it.next(), futureQueue));
                ++active;
              } else if (active == 0) {
                break;
              } else if (timed) {
                f = futureQueue.poll(timeoutNanos, TimeUnit.NANOSECONDS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            when:
            def longRunning = executer.withTasks("someLongRunningTask").start()
            handle.waitForAllPendingCalls()
    
            then:
            def before
            ConcurrentTestUtil.poll {
                // Output is delivered asynchronously, so wait until the details are available
                before = scriptDetails(longRunning.standardOutput)
                assert !before.isEmpty()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * not in {@link #nextElements}, this method throws an {@link UnknownElementException}.
         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. pkg/xds/server.go

    			} else {
    				// Remote side closed connection or error processing the request.
    				return <-con.errorChan
    			}
    		case <-con.stop:
    			return nil
    		default:
    		}
    		// If there wasn't already a request, poll for requests and pushes. Note: if we have a huge
    		// amount of incoming requests, we may still send some pushes, as we do not `continue` above;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top