Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 322 for Wong (0.13 sec)

  1. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            return OptionalThing.of(new FessUserBean(new TestUser(name, permissions)));
        }
    
        static class TestUser implements FessUser {
    
            private static final long serialVersionUID = 1L;
    
            private String name;
    
            private String[] permissions;
    
            TestUser(String name, String[] permissions) {
                this.name = name;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

          Files.write(file, new byte[10]);
          Path link = fs.getPath("link");
          Files.createSymbolicLink(link, file);
    
          ByteSource source = MoreFiles.asByteSource(link);
    
          assertEquals(10L, (long) source.sizeIfKnown().get());
          assertEquals(10L, source.size());
        }
      }
    
      public void testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Collections2.java

       * other.
       *
       * <p>The returned collection's {@code add()} and {@code addAll()} methods throw an {@link
       * UnsupportedOperationException}. All other collection methods are supported, as long as {@code
       * fromCollection} supports them.
       *
       * <p>The returned collection isn't threadsafe or serializable, even if {@code fromCollection} is.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        SetFieldSettersHolder.EMPTY_SET_FIELD_SETTER.set(this, emptySet(valueComparator));
      }
    
      @GwtIncompatible // not needed in emulated source.
      @J2ktIncompatible
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/InvokableTest.java

        @Tested public String publicField;
        @Tested private static Iterable<String> staticField;
        @Tested private final Object finalField;
        private volatile char volatileField;
        private transient long transientField;
    
        @Tested
        public A(Object finalField) {
          this.finalField = finalField;
        }
    
        @Tested
        abstract void abstractMethod();
    
        @Tested
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        return isEmpty() ? null : removeAndGet(0);
      }
    
      @SuppressWarnings("unchecked") // we must carefully only allow Es to get in
      E elementData(int index) {
        /*
         * requireNonNull is safe as long as we're careful to call this method only with populated
         * indexes.
         */
        return (E) requireNonNull(queue[index]);
      }
    
      @Override
      @CheckForNull
      public E peek() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

          }
        };
    
        static boolean test(long base, long n) {
          // Since base will be considered % n, it's okay if base > FLOOR_SQRT_MAX_LONG,
          // so long as n <= FLOOR_SQRT_MAX_LONG.
          return ((n <= FLOOR_SQRT_MAX_LONG) ? SMALL : LARGE).testWitness(base, n);
        }
    
        /** Returns a * b mod m. */
        abstract long mulMod(long a, long b, long m);
    
        /** Returns a^2 mod m. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        @CheckForNull
        public Long previous(Long value) {
          long l = value;
          return (l == Long.MIN_VALUE) ? null : l - 1;
        }
    
        @Override
        Long offset(Long origin, long distance) {
          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

      public void testCheckedCast() {
        for (long value : UNSIGNED_INTS) {
          assertThat(UnsignedInts.toLong(UnsignedInts.checkedCast(value))).isEqualTo(value);
        }
        assertCastFails(1L << 32);
        assertCastFails(-1L);
        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

        protected long requestInterval = 500;
    
        public void sendDocuments(final SearchEngineClient searchEngineClient, final DocList docList) {
            if (docList.isEmpty()) {
                return;
            }
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long execTime = systemHelper.getCurrentTimeAsLong();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.6K bytes
    - Viewed (1)
Back to top