Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for above (0.23 sec)

  1. android/guava/src/com/google/common/collect/Cut.java

     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
     * "numbers") into two sections; this can be done below a certain value, above a certain value,
     * below all values or above all values. With this object defined in this way, an interval can
     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/RangeTest.java

        // enclosing, exterior
        assertEquals(range, range.intersection(Range.closed(2, 10)));
    
        // overlap above
        assertEquals(Range.closed(6, 8), range.intersection(Range.closed(6, 10)));
    
        // adjacent above
        assertEquals(Range.openClosed(8, 8), range.intersection(Range.openClosed(8, 10)));
    
        // separate above
        try {
          range.intersection(Range.closed(10, 12));
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbNamedPipe.java

         * parameter. The pipeType parameter should be at least one of
         * the <code>PIPE_TYPE</code> flags combined with the bitwise OR
         * operator <code>|</code>. See the examples listed above.
         * 
         * @param url
         * @param pipeType
         * @param unshared
         *            whether to use an exclusive connection for this pipe
         * @param tc
         * @throws MalformedURLException
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            sb.append(comp);
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated
       * so far being empty. As a result, it does not have the above-mentioned bug.
       */
      @Benchmark
      int booleanIfFirst(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

                        (byte) 0x01, // up to here, same bytes as above
                    (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04,
                    (byte) 0x05, (byte) 0x06, (byte) 0x07, (byte) 0x08
                  },
                  0x89abcdef,
                  0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
                  "efcdab89674523010102030405060708"),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ReflectionTest.java

        Reflection.initialize(A.class);
        assertEquals(1, classesInitialized);
    
        Reflection.initialize(
            A.class, // Already initialized (above)
            B.class, C.class);
        assertEquals(3, classesInitialized);
      }
    
      public void testNullPointers() {
        new NullPointerTester().testAllPublicStaticMethods(Reflection.class);
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

        Reflection.initialize(A.class);
        assertEquals(1, classesInitialized);
    
        Reflection.initialize(
            A.class, // Already initialized (above)
            B.class, C.class);
        assertEquals(3, classesInitialized);
      }
    
      public void testNullPointers() {
        new NullPointerTester().testAllPublicStaticMethods(Reflection.class);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(2);
    
        // Should we pepper more of these calls throughout the above? Where?
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
       * evicted and nothing else.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Platform.java

         * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
         * class could be unloaded after the above call to `getEnumConstants` but before we call
         * `get()`, but that is vanishingly unlikely.
         */
        return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get()));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

        static {
            // Those two public constants are initialized here, as they need all the private constants
            // above to be initialized first, but the code style imposes the public constants to be
            // defined above the private ones...
            OS_FAMILY = getOsFamily();
            IS_WINDOWS = isFamily(FAMILY_WINDOWS);
        }
    
        private Os() {}
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top