Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 487 for our (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        a.set(0, 1.0);
        Thread t =
            newStartedThread(
                new CheckedRunnable() {
                  @Override
                  @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                  public void realRun() {
                    while (!a.compareAndSet(0, 2.0, 3.0)) {
                      Thread.yield();
                    }
                  }
                });
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate.go

    		return "", fmt.Errorf("cannot create revision tag %q: found existing control plane revision with same name", opts.Tag)
    	}
    
    	// find canonical revision webhook to base our tag webhook off of
    	revWebhooks, err := GetWebhooksWithRevision(ctx, client.Kube(), opts.Revision)
    	if err != nil {
    		return "", err
    	}
    	if len(revWebhooks) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

         */
        @SuppressWarnings("nullness")
        Object[] result = ObjectArrays.toArrayImpl(this);
        return result;
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] other) {
        return ObjectArrays.toArrayImpl(this, other);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

          case 1:
            /*
             * requireNonNull is safe because the callers promise to put non-null objects in the first
             * `length` array elements.
             */
            @SuppressWarnings("unchecked") // our callers put only E instances into the array
            E onlyElement = (E) requireNonNull(elements[0]);
            return of(onlyElement);
          default:
            /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          assertThrows(IllegalArgumentException.class, () -> DoubleMath.fuzzyEquals(1, 2, tolerance));
        }
      }
    
      /*
       * We've split testFuzzyCompare() into multiple tests so that our internal Android test runner has
       * a better chance of completing each within its per-test-method timeout.
       */
    
      public void testFuzzyCompare0() {
        runTestFuzzyCompare(0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  6. docs/en/docs/management-tasks.md

    In discussions and PRs, in many cases, people bring their frustration and show it without filter, in many cases exaggerating, complaining, being entitled, etc. That's really not nice, and when it happens, it lowers our priority to solve their problems. But still, try to breath, and be gentle with your answers.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 21:56:33 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

          }
    
          @Override
          public I next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            /*
             * requireNonNull is safe because our callers always pass non-null arguments. Each element
             * of the array becomes null only when we iterate past it and then clear it.
             */
            I result = requireNonNull(elements[index]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func (z *ztunnelServer) Run(ctx context.Context) {
    	context.AfterFunc(ctx, func() { _ = z.Close() })
    
    	// Allow at most 5 requests per second. This is still a ridiculous amount; at most we should have 2 ztunnels on our node,
    	// and they will only connect once and persist.
    	// However, if they do get in a state where they call us in a loop, we will quickly OOM
    	limit := rate.NewLimiter(rate.Limit(5), 1)
    	for {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Equivalence.java

         * Wrapper<Number>, Wrapper<Integer>, Wrapper<@Nullable Integer>, etc. If we used just
         * Equivalence<? super T> below, no type could satisfy both that bound and T's own
         * bound. With this type, they have some overlap: in our example, Equivalence<Number>
         * and Equivalence<Object>.
         */
        private final Equivalence<? super @NonNull T> equivalence;
    
        @ParametricNullness private final T reference;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

        return LexicographicalComparator.INSTANCE;
      }
    
      enum LexicographicalComparator implements Comparator<int[]> {
        INSTANCE;
    
        @Override
        // A call to bare "min" or "max" would resolve to our varargs method, not to any static import.
        @SuppressWarnings("StaticImportPreferred")
        public int compare(int[] left, int[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top