Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 858 for element1 (0.08 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

            makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object, ?, ?> segment = map.segments[0];
        assertEquals(1, segment.table.length());
    
        // manually add elements to avoid expansion
        int originalCount = 1024;
        InternalEntry<Object, Object, ?> entry = null;
        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RegularImmutableMap.java

        IdentityHashMap<Entry<K, V>, Boolean> duplicates = null;
        int dupCount = 0;
        for (int entryIndex = n - 1; entryIndex >= 0; entryIndex--) {
          // requireNonNull is safe because the first `n` elements have been filled in.
          Entry<K, V> entry = requireNonNull(entryArray[entryIndex]);
          K key = entry.getKey();
          V value = entry.getValue();
          checkEntryNotNull(key, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    		m["range"] = rangeField
    	}
    
    	if _, ok := r.Header[xhttp.MinIOSourceReplicationRequest]; ok {
    		m[xhttp.MinIOSourceReplicationRequest] = ""
    	}
    	return m
    }
    
    // Extract response elements to be sent with event notification.
    func extractRespElements(w http.ResponseWriter) map[string]string {
    	if w == nil {
    		return map[string]string{}
    	}
    	return map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * comments.
         */
    
        @Weak final MapMakerInternalMap<K, V, E, S> map;
    
        /**
         * The number of live elements in this segment's region. This does not include unset elements
         * which are awaiting cleanup.
         */
        volatile int count;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    // will be called for a pretty rendering of fatal errors.
    func RegisterError(f func(string, error, bool) string) {
    	errorFmtFunc = f
    }
    
    // uniq swaps away duplicate elements in data, returning the size of the
    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Closer.java

      /** Creates a new {@link Closer}. */
      public static Closer create() {
        return new Closer(SUPPRESSING_SUPPRESSOR);
      }
    
      @VisibleForTesting final Suppressor suppressor;
    
      // only need space for 2 elements in most cases, so try to use the smallest array possible
      private final Deque<Closeable> stack = new ArrayDeque<>(4);
      @CheckForNull private Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. docs/de/docs/features.md

    ### Validierung
    
    * Validierung für die meisten (oder alle?) Python-**Datentypen**, hierzu gehören:
        * JSON Objekte (`dict`).
        * JSON Listen (`list`), die den Typ ihrer Elemente definieren.
        * Strings (`str`) mit definierter minimaler und maximaler Länge.
        * Zahlen (`int`, `float`) mit Mindest- und Maximal-Werten, usw.
    
    * Validierung für mehr exotische Typen, wie:
        * URL.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

        exceptions.add(e);
        return exceptions;
      }
    
      /**
       * Concatenates the contents of the two given collections of exceptions. If either collection is
       * null, the other collection is returned. Otherwise, the elements of {@code other} are added to
       * {@code exceptions} and {@code exceptions} is returned.
       */
      @CheckForNull
      private static Collection<IOException> concat(
          @CheckForNull Collection<IOException> exceptions,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MoreFiles.java

        exceptions.add(e);
        return exceptions;
      }
    
      /**
       * Concatenates the contents of the two given collections of exceptions. If either collection is
       * null, the other collection is returned. Otherwise, the elements of {@code other} are added to
       * {@code exceptions} and {@code exceptions} is returned.
       */
      @CheckForNull
      private static Collection<IOException> concat(
          @CheckForNull Collection<IOException> exceptions,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top