Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for waiters (0.37 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        }
    
        /** Performs a GAS operation on the {@link #waiters} field. */
        @Override
        Waiter gasWaiters(AbstractFuture<?> future, Waiter update) {
          while (true) {
            Waiter waiter = future.waiters;
            if (update == waiter) {
              return waiter;
            }
            if (casWaiters(future, waiter, update)) {
              return waiter;
            }
          }
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  2. guava/src/com/google/common/util/concurrent/AbstractFuture.java

        /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
        abstract void putThread(Waiter waiter, Thread newValue);
    
        /** Non-volatile write of the waiter to the {@link Waiter#next} field. */
        abstract void putNext(Waiter waiter, @CheckForNull Waiter newValue);
    
        /** Performs a CAS operation on the {@link #waiters} field. */
        abstract boolean casWaiters(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
      final CountDownLatch futureCancelled = new CountDownLatch(1);
      final Exception exception = new Exception();
      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final TestCloseable closeable2 = new TestCloseable("closeable2");
      final TestCloseable closeable3 = new TestCloseable("closeable3");
      final TestCloseable closeable4 = new TestCloseable("closeable4");
    
      final Waiter waiter = new Waiter();
      final CountDownLatch futureCancelled = new CountDownLatch(1);
      final Exception exception = new Exception();
      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. src/net/dnsclient_unix_test.go

    			ips, err := r.LookupIPAddr(context.Background(), name)
    
    			var wantErr error
    			if strict {
    				wantErr = tt.wantStrictErr
    			} else {
    				wantErr = tt.wantLaxErr
    			}
    			if !reflect.DeepEqual(err, wantErr) {
    				t.Errorf("#%d (%s) strict=%v: got err %#v; want %#v", i, tt.desc, strict, err, wantErr)
    			}
    
    			gotIPs := map[string]struct{}{}
    			for _, ip := range ips {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    			inlineBuffers[i] = bytes.NewBuffer(buf[:0])
    			defer grid.PutByteBuffer(buf)
    			writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize())
    		}
    	}
    
    	n, erasureErr := erasure.Encode(ctx, data, writers, buffer, writeQuorum)
    	closeBitrotWriters(writers)
    	if erasureErr != nil {
    		return ObjectInfo{}, toObjectErr(erasureErr, minioMetaBucket, key)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  7. pkg/apis/storage/validation/validation_test.go

    		test.csiDriver.Spec.StorageCapacity = new(bool)
    		test.csiDriver.Spec.SELinuxMount = new(bool)
    		if errs := ValidateCSIDriver(test.csiDriver); test.wantErr != (len(errs) != 0) {
    			t.Errorf("ValidateCSIDriver = %v, want err: %v", errs, test.wantErr)
    		}
    	}
    }
    
    func TestCSIDriverValidationSELinuxMountEnabledDisabled(t *testing.T) {
    	tests := []struct {
    		name              string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy_test.go

    	const containerName = "container"
    
    	tests := []struct {
    		name    string
    		pod     *api.Pod
    		wantErr bool
    	}{
    		{
    			name:    "a new pod setting container with indivisible hugepages values",
    			pod:     newPodWithHugePageValue(api.ResourceHugePagesPrefix+"1Mi", resource.MustParse("1.1Mi")),
    			wantErr: true,
    		},
    		{
    			name: "a new pod setting init-container with indivisible hugepages values",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  9. pkg/controller/daemon/daemon_controller.go

    		// show up in a state that is already pending deletion.
    		dsc.deleteHistory(logger, history)
    		return
    	}
    
    	// If it has a ControllerRef, that's all that matters.
    	if controllerRef := metav1.GetControllerOf(history); controllerRef != nil {
    		ds := dsc.resolveControllerRef(history.Namespace, controllerRef)
    		if ds == nil {
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    				}
    				go reconciler.Run(wait.NeverStop)
    
    				waitErr := retryWithExponentialBackOff(testOperationBackOffDuration, func() (done bool, err error) {
    					mounted, _, err := asw.PodExistsInVolume(podName, volumeName, newSize, "" /* SELinuxContext */)
    					return mounted && err == nil, nil
    				})
    				if waitErr != nil {
    					t.Fatalf("Volume resize should succeeded %v", waitErr)
    				}
    			}
    
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top