Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 7,083 for returned (0.12 sec)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              }
              return true;
            }
          }
        }
        return false;
      }
    
      // Views
    
      @Override
      Set<E> createElementSet() {
        Set<E> delegate = countMap.keySet();
        return new ForwardingSet<E>() {
          @Override
          protected Set<E> delegate() {
            return delegate;
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              @Override
              protected Integer initialValue() {
                return 0;
              }
            };
    
        final Callable<Integer> incrementTask =
            new Callable<Integer>() {
              @Override
              public Integer call() {
                int i = threadLocalCount.get();
                threadLocalCount.set(i + 1);
                return i;
              }
            };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                    return s.equals("x") || s.equals("y") || s.equals("z");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

        // TreeMap.navigatbleKeySet().
        return ImmutableSortedSet.copyOf(comparator, sortedDelegate.keySet());
      }
    
      public Comparator<? super K> comparator() {
        return comparator;
      }
    
      @CheckForNull
      public K firstKey() {
        return sortedDelegate.firstKey();
      }
    
      @CheckForNull
      public K lastKey() {
        return sortedDelegate.lastKey();
      }
    
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. cmd/erasure-decode_test.go

    	closeBitrotWriters(writers)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if n != length {
    		t.Errorf("erasureCreateFile returned %d, expected %d", n, length)
    	}
    
    	// To generate random offset/length.
    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/BigIntegerMath.java

       */
      public static BigInteger floorPowerOfTwo(BigInteger x) {
        return BigInteger.ZERO.setBit(log2(x, FLOOR));
      }
    
      /** Returns {@code true} if {@code x} represents a power of two. */
      public static boolean isPowerOfTwo(BigInteger x) {
        checkNotNull(x);
        return x.signum() > 0 && x.getLowestSetBit() == x.bitLength() - 1;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            return project == null ? null : project.getModel().getDelegate();
        }
    
        //
        // Implementation
        //
    
        private File findArtifact(MavenProject project, Artifact artifact, boolean checkUptodate) {
            // POMs are always returned from the file system
            if ("pom".equals(artifact.getExtension())) {
                return project.getFile();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testAsList_toArray_roundTrip() {
        char[] array = {(char) 0, (char) 1, (char) 2};
        List<Character> list = Chars.asList(array);
        char[] newArray = Chars.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (char) 4);
        assertThat(newArray).isEqualTo(new char[] {(char) 0, (char) 1, (char) 2});
        newArray[1] = (char) 5;
        assertThat((char) list.get(1)).isEqualTo((char) 1);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

            checkClosed();
            if (pathProcessor == null) {
                pathProcessor = createPathProcessor();
            }
            return pathProcessor;
        }
    
        protected PathProcessor createPathProcessor() {
            return new DefaultPathProcessor();
        }
    
        private ChecksumProcessor checksumProcessor;
    
        public final ChecksumProcessor getChecksumProcessor() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device.cc

                                attributes, *num_outputs, status));
      if (TF_GetCode(status) != TF_OK) return;
      if (!maybe_typed_outputs.has_value()) {
        TF_SetStatus(status, TF_INTERNAL, "OK status but no value was returned.");
        return;
      }
    
      std::vector<MaybeParallelTensorOwned> typed_outputs(
          std::move(maybe_typed_outputs.value()));
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top