Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 859 for _some (0.02 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(boolean[] array, boolean target) {
        for (boolean value : array) {
          if (value == target) {
            return true;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        entries =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        sort(entries, sortedMultiset.comparator());
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0)));
          if (entries.size() >= 3) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Booleans.java

       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(boolean[] array, boolean target) {
        for (boolean value : array) {
          if (value == target) {
            return true;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        } catch (ExecutionException success) {
          assertThat(success).hasCauseThat().isInstanceOf(NullPointerException.class);
        } finally {
          joinPool(e);
        }
      }
    
      /** invokeAny(c) returns result of some task in c if at least one completes */
      public void testInvokeAnyImpl() throws Exception {
        ListeningExecutorService e = newDirectExecutorService();
        try {
          List<Callable<String>> l = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                if (!transport.isSMB2()) {
                    final ServerMessageBlock req = (ServerMessageBlock) request;
                    svc = this.service;
                    if (svc == null) {
                        // there still is some kind of race condition, where?
                        // this used to trigger "invalid operation..."
                        throw new SmbException("Service is null in state " + this.connectionState.get());
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. cmd/bucket-metadata-sys.go

    		case <-t.C:
    			buckets, err := sys.objAPI.ListBuckets(ctx, BucketOptions{NoMetadata: true})
    			if err != nil {
    				internalLogIf(ctx, err, logger.WarningKind)
    				break
    			}
    
    			// Handle if we have some buckets in-memory those are stale.
    			// first delete them and then replace the newer state()
    			// from disk.
    			diskBuckets := set.CreateStringSet()
    			for _, bucket := range buckets {
    				diskBuckets.Add(bucket.Name)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	ReplicationTimestamp time.Time
    	Checksum             []byte
    }
    
    // MultipartInfo captures metadata information about the uploadId
    // this data structure is used primarily for some internal purposes
    // for verifying upload type such as was the upload
    // - encrypted
    // - compressed
    type MultipartInfo struct {
    	// Name of the bucket.
    	Bucket string
    
    	// Name of the object.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

     *
     * <p>Each of the {@code standard} methods uses the map's comparator (or the natural ordering of the
     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Map}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingNavigableMap.java

     *
     * <p>Each of the {@code standard} methods uses the map's comparator (or the natural ordering of the
     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Map}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
            elements instanceof Set ? array.length : estimatedSizeForUnknownDuplication(array.length);
        return fromArrayWithExpectedSize(array, expectedSize);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
Back to top