Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 68 of 68 for Fong (0.14 sec)

  1. guava/src/com/google/common/collect/Iterators.java

       * Returns the number of elements remaining in {@code iterator}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       */
      public static int size(Iterator<?> iterator) {
        long count = 0L;
        while (iterator.hasNext()) {
          iterator.next();
          count++;
        }
        return Ints.saturatedCast(count);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

        private final BitSet table;
    
        private BitSetMatcher(BitSet table, String description) {
          super(description);
          if (table.length() + Long.SIZE < table.size()) {
            table = (BitSet) table.clone();
            // If only we could actually call BitSet.trimToSize() ourselves...
          }
          this.table = table;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    		return
    	}
    
    	// The max. XML contains 100000 object names (each at most 1024 bytes long) + XML overhead
    	const maxBodySize = 2 * 100000 * 1024
    
    	if r.ContentLength > maxBodySize {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  4. configure.py

      # First available in VS 16.4. Speeds up Windows compile times by a lot. See
      # https://groups.google.com/a/tensorflow.org/d/topic/build/SsW98Eo7l3o/discussion
      # pylint: disable=line-too-long
      write_to_bazelrc(
          'build --copt=/d2ReducedOptimizeHugeFunctions --host_copt=/d2ReducedOptimizeHugeFunctions'
      )
    
      if get_var(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        map.put(SomeEnum.SOME_INSTANCE, 0);
        assertEquals(Collections.singletonMap(SomeEnum.SOME_INSTANCE, 0), map);
      }
    
      public void testEnumMapNullClass() {
        try {
          Maps.<SomeEnum, Long>newEnumMap((Class<MapsTest.SomeEnum>) null);
          fail("no exception thrown");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testEnumMapWithInitialEnumMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsTest.java

        map.put(SomeEnum.SOME_INSTANCE, 0);
        assertEquals(Collections.singletonMap(SomeEnum.SOME_INSTANCE, 0), map);
      }
    
      public void testEnumMapNullClass() {
        try {
          Maps.<SomeEnum, Long>newEnumMap((Class<MapsTest.SomeEnum>) null);
          fail("no exception thrown");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testEnumMapWithInitialEnumMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  7. cmd/iam.go

    			if nerr.Err != nil {
    				logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    	return updatedAt, nil
    }
    
    // DeleteUser - delete user (only for long-term users not STS users).
    func (sys *IAMSys) DeleteUser(ctx context.Context, accessKey string, notifyPeers bool) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. .bazelrc

    build:windows --features=compiler_param_file
    
    # Do not risk cache corruption. See:
    # https://github.com/bazelbuild/bazel/issues/3360
    build:linux --experimental_guard_against_concurrent_changes
    
    # Configure short or long logs
    build:short_logs --output_filter=DONT_MATCH_ANYTHING
    build:verbose_logs --output_filter=
    
    # Instruction set optimizations
    # TODO(gunan): Create a feature in toolchains for avx/avx2 to
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
Back to top