Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,031 for togo (0.03 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * Collection} and {@link Iterator} interfaces.
     *
     * @author Doug Lea
     * @author Justin T. Sampson
     * @param <E> the type of elements held in this collection
     */
    // TODO(kak): consider removing some of the @CanIgnoreReturnValue annotations as appropriate
    @NullUnmarked
    public class MonitorBasedArrayBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         * @return formatted file size string (e.g., "1.5M", "2.3G", "512K")
         */
        public static String formatFileSize(final long value) {
            double target = value;
            String unit = ""; // TODO l10n?
            String format = "0.#";
            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/base/JoinerTest.java

          return delegate;
        }
    
        @Override
        public int size() {
          return delegate.size() + delta;
        }
      }
    
      @SuppressWarnings("JoinIterableIterator") // explicitly testing iterator overload, too
      public void testNoSpecialNullBehavior() {
        checkNoOutput(J, iterable);
        checkResult(J, iterable1, "1");
        checkResult(J, iterable12, "1-2");
        checkResult(J, iterable123, "1-2-3");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        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;
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.readOctetArray(destData, 0, sourceData.length);
    
            assertEquals(sourceData.length, ndrBuffer.getIndex());
            assertEquals(sourceData.length, ndrBuffer.getLength()); // Length is updated on read too
            assertArrayEquals(sourceData, destData);
    
            // Read with offset and length
            ndrBuffer.setIndex(0);
            Arrays.fill(destData, (byte) 0x00); // Clear destData
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. api/maven-api-settings/src/main/mdo/settings.mdo

              <description>
                The condition which must be satisfied to activate the profile.
              </description>
            </field>
          </fields>
        </class>
    
        <!-- TODO: reproduced from maven-model/maven.mdo, instead should inherit code and link to external docs -->
        <class java.clone="deep">
          <name>RepositoryBase</name>
          <version>1.0.0+</version>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

            assertThrows(
                IllegalArgumentException.class, () -> checkArgument(false, "A %s C", (Object) null));
        assertThat(e).hasMessageThat().isEqualTo("A null C");
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testCheckArgument_singleNullArray_failure() {
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PreconditionsTest.java

            assertThrows(
                IllegalArgumentException.class, () -> checkArgument(false, "A %s C", (Object) null));
        assertThat(e).hasMessageThat().isEqualTo("A null C");
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testCheckArgument_singleNullArray_failure() {
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    
    	if len(r.Rules) > maxBatchRules {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Too many rules. Batch expire job can't have more than 100 rules",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	for _, rule := range r.Rules {
    		if err := rule.Validate(); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                }
                for (int i = -3; i <= 3; i++) {
                  assertEquals(expected.contains(i), subRangeSet.contains(i));
                }
              }
            }
          }
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableRangeSet once CollectorTester is usable to java7
      public void testToImmutableRangeSet_java7_combine() {
        Range<Integer> rangeOne = Range.closedOpen(1, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
Back to top