Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for odd (0.17 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

      public void testEviction_maxWeight_zero() {
        CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();
        IdentityLoader<Integer> loader = identityLoader();
    
        // Even numbers are free, odd are too expensive
        Weigher<Integer, Integer> evensOnly =
            new Weigher<Integer, Integer>() {
              @Override
              public int weigh(Integer k, Integer v) {
                return k % 2;
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent
         * as a part of the response to `streamId`.
         *
         * @param streamId client-initiated stream ID.  Must be an odd number.
         * @param promisedStreamId server-initiated stream ID.  Must be an even number.
         * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
           * normally handle Error.
           *
           * Similarly, do we really want to log the same Error more than once?
           */
          log(throwable);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arm64.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the ARM64
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm64"
    	"errors"
    )
    
    var arm64LS = map[string]uint8{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      private static final int EVEN_POWERS_OF_TWO = 0x55555555;
      private static final int ODD_POWERS_OF_TWO = 0xaaaaaaaa;
    
      @VisibleForTesting
      static boolean isEvenLevel(int index) {
        int oneBased = ~~(index + 1); // for GWT
        checkState(oneBased > 0, "negative index");
        return (oneBased & EVEN_POWERS_OF_TWO) > (oneBased & ODD_POWERS_OF_TWO);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the ARM
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"strings"
    
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm"
    )
    
    var armLS = map[string]uint8{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # "pip tests" run a similar suite of tests the "nonpip" tests, but do something
    # odd to attempt to validate the quality of the pip package. The wheel is
    # installed into a virtual environment, and then that venv is used to run all
    # bazel tests with a special flag "--define=no_tensorflow_py_deps=true", which
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/EnumTest.java

        // against this issue
        public void testEnumBufferSize () throws IOException {
            CIFSContext ctx = getContext();
            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
            int tryBufferSize = 1023;
            final int bufSize[] = new int[] {
                origBufferSize
            };
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
       * @param streamId client-initiated stream ID.  Must be an odd number.
       * @param promisedStreamId server-initiated stream ID.  Must be an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
       */
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top