Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 924 for Element (0.13 sec)

  1. android/guava/src/com/google/common/base/MoreObjects.java

    public final class MoreObjects {
      /**
       * Returns the first of two given parameters that is not {@code null}, if either is, or otherwise
       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
       * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...),
       * Predicates.notNull())}, static importing as necessary.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/BloomFilterStrategies.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collections of strategies of generating the k * log(M) bits required for an element to be mapped
     * to a BloomFilter of M bits and k hash functions. These strategies are part of the serialized form
     * of the Bloom filters that use them, thus they must be preserved as is (no updates allowed, only
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            C filtered = filter(unfiltered, EVEN);
            List<Integer> foundElements = new ArrayList<>();
            filtered.forEach(
                (Integer i) -> {
                  assertTrue("Unexpected element: " + i, EVEN.apply(i));
                  foundElements.add(i);
                });
            assertEquals(ImmutableList.copyOf(filtered), foundElements);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. internal/kms/kms.go

    	// Prefix is an optional prefix for filtering names.
    	// A list operation only returns elements that match
    	// this prefix.
    	// An empty prefix matches any value.
    	Prefix string
    
    	// ContinueAt is the name of the element from where
    	// a listing should continue. It allows paginated
    	// listings.
    	ContinueAt string
    
    	// Limit limits the number of elements returned by
    	// a single list operation. If <= 0, a reasonable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                if ( context.getServer() == null ) {
                    pos = 1;
                }
    
                // first remaining path element would be share
                if ( nameParts.length > pos ) {
                    this.share = nameParts[ pos++ ];
                }
    
                // all other remaining path elements are actual path
                if ( nameParts.length > pos ) {
                    String[] remainParts = new String[nameParts.length - pos];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    }
    
    //msgp:ignore dataUsageEntryInfo
    type dataUsageEntryInfo struct {
    	Name   string
    	Parent string
    	Entry  dataUsageEntry
    }
    
    type dataUsageCacheInfo struct {
    	// Name of the bucket. Also root element.
    	Name       string
    	NextCycle  uint32
    	LastUpdate time.Time
    	// indicates if the disk is being healed and scanner
    	// should skip healing the disk
    	SkipHealing bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  7. cmd/erasure.go

    // Get an aggregated storage info across all disks.
    func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo {
    	disksInfo := getDisksInfo(disks, endpoints, metrics)
    
    	// Sort so that the first element is the smallest.
    	sort.Slice(disksInfo, func(i, j int) bool {
    		return disksInfo[i].TotalSpace < disksInfo[j].TotalSpace
    	})
    
    	storageInfo := StorageInfo{
    		Disks: disksInfo,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * @return an {@code Object} that is a {@code byte[]}, {@code short[]}, or {@code int[]}, the
       *     smallest possible to fit {@code tableSize}; or an {@code Object[]} where [0] is one of
       *     these; [1] indicates how many element pairs in {@code alternatingKeysAndValues} are valid;
       *     and [2] is a {@link Builder.DuplicateKey} for the first duplicate key encountered.
       */
      @CheckForNull
      private static Object createHashTable(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. cmd/os_unix.go

    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    			return err
    		}
    	}
    
    	// Parent now exists; invoke Mkdir and use its result.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

        addEdge(N1, N1, E11);
        assertThat(network.outDegree(N1)).isEqualTo(2);
        addEdge(N2, N1, E12);
        assertThat(network.outDegree(N1)).isEqualTo(3);
      }
    
      // Element Mutation
    
      @Test
      public void addEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top