Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 858 for element1 (0.06 sec)

  1. guava/src/com/google/common/io/ReaderInputStream.java

        if (numChars == -1) {
          endOfInput = true;
        } else {
          Java8Compatibility.limit(charBuffer, limit + numChars);
        }
      }
    
      /** Returns the number of elements between the limit and capacity. */
      private static int availableCapacity(Buffer buffer) {
        return buffer.capacity() - buffer.limit();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. android/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)
  3. cmd/postpolicyform.go

    					Value    string
    				}{
    					policyCondEqual, "$" + strings.ToLower(k), toString(v),
    				})
    			}
    		case []interface{}: // Handle array types.
    			if len(condt) != 3 { // Return error if we have insufficient elements.
    				return parsedPolicy, fmt.Errorf("Malformed conditional fields %s of type %s found in POST policy form", condt, reflect.TypeOf(condt).String())
    			}
    			switch toLowerString(condt[0]) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      }
    
      /** Fails with message "should throw " + exceptionName. */
      public void shouldThrow(String exceptionName) {
        fail("Should throw " + exceptionName);
      }
    
      /** The number of elements to place in collections, arrays, etc. */
      public static final int SIZE = 20;
    
      // Some convenient Integer constants
    
      public static final Integer zero = 0;
      public static final Integer one = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/custom-response.md

    Bei umfangreichen Responses ist die direkte Rückgabe einer `Response` viel schneller als ein Dictionary zurückzugeben.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. cmd/bucket-stats.go

    func (l *ReplicationLastHour) forwardTo(t int64) {
    	if l.LastMin >= t {
    		return
    	}
    	if t-l.LastMin >= 60 {
    		l.Totals = [60]AccElem{}
    		return
    	}
    	for l.LastMin != t {
    		// Clear next element.
    		idx := (l.LastMin + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastMin++
    	}
    }
    
    // BucketStatsMap captures bucket statistics for all buckets
    type BucketStatsMap struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public boolean containsKey(Object key) {
        return map.containsKey(key);
      }
    
      /**
       * Returns the number of key-value mappings in this map. If the map contains more than {@code
       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.h

      int64_t* dims;
      // The data type. May be 0 to denote unknown type.
      TF_DataType dtype;
    };
    
    typedef struct TF_ShapeAndType TF_ShapeAndType;
    
    // A list of TF_ShapeAndType elements..
    struct TF_ShapeAndTypeList {
      int num_items;
      TF_ShapeAndType* items;
    };
    typedef struct TF_ShapeAndTypeList TF_ShapeAndTypeList;
    
    // API for manipulating TF_ShapeAndTypeList objects.
    //
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. 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)
  10. android/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)
Back to top