Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for units$1 (0.04 sec)

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

      public void testImmutableEnumSet() {
        Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B);
    
        assertThat(units).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
        assertThrows(UnsupportedOperationException.class, () -> units.remove(SomeEnum.B));
        assertThrows(UnsupportedOperationException.class, () -> units.add(SomeEnum.C));
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  2. guava-gwt/pom.xml

                Let's take the warnings for one module, c.g.c.base.testModule, as an example:
    
                  [INFO] Validating units:
                  [INFO]    Ignored 53 units with compilation errors in first pass.
                  [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Queues.java

       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
       * @param numElements the number of elements to be waited for
       * @param timeout how long to wait before giving up, in units of {@code unit}
       * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
       * @param numElements the number of elements to be waited for
       * @param timeout how long to wait before giving up, in units of {@code unit}
       * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertTrue(log.contains(", heap "));
            assertTrue(log.contains(", max "));
            assertTrue(log.endsWith("}"));
    
            // Verify format contains expected memory units
            assertTrue(log.matches(".*used [0-9.]+[a-zA-Z]+, heap [0-9.]+[a-zA-Z]+, max [0-9.]+[a-zA-Z]+.*"));
        }
    
        public void test_byteCountToDisplaySize_edgeCases() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
        }
    
        /**
         * Formats a file size in bytes to a human-readable string with appropriate units.
         *
         * @param value the file size in bytes
         * @return formatted file size string (e.g., "1.5M", "2.3G", "512K")
         */
        public static String formatFileSize(final long value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * and returns it. Callers should use this to verify the request was sent as intended within the
       * given time.
       *
       * @param timeout how long to wait before giving up, in units of [unit]
       * @param unit a [TimeUnit] determining how to interpret the [timeout] parameter
       * @return the head of the request queue
       */
      @Throws(InterruptedException::class)
      public fun takeRequest(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

        return new StringAsImmutableList(checkNotNull(string));
      }
    
      /**
       * Returns a view of the specified {@code CharSequence} as a {@code List<Character>}, viewing
       * {@code sequence} as a sequence of Unicode code units. The view does not support any
       * modification operations, but reflects any changes to the underlying character sequence.
       *
       * @param sequence the character sequence to view as a {@code List} of characters
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
Back to top