Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 3,329 for new1 (0.02 seconds)

  1. guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testRotate() {
        testRotate(new char[] {}, -1, new char[] {});
        testRotate(new char[] {}, 0, new char[] {});
        testRotate(new char[] {}, 1, new char[] {});
    
        testRotate(new char[] {'1'}, -2, new char[] {'1'});
        testRotate(new char[] {'1'}, -1, new char[] {'1'});
        testRotate(new char[] {'1'}, 0, new char[] {'1'});
        testRotate(new char[] {'1'}, 1, new char[] {'1'});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            scriptEngineFactory = new ScriptEngineFactory();
            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
            testScriptEngine = new TestScriptEngine();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

            })
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingTableTest.java

     * @author Gregory Kick
     */
    @NullUnmarked
    public class ForwardingTableTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Table.class,
                new Function<Table, Table<?, ?, ?>>() {
                  @Override
                  public Table<?, ?, ?> apply(Table delegate) {
                    return wrap((Table<?, ?, ?>) delegate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.set(new Foo()));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.create()));
        // Check that the future has been set properly.
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
        assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
        FooChild value = new FooChild();
        nested.set(value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/eventbus/Dispatcher.java

        @SuppressWarnings("ThreadLocalUsage") // Each Dispatcher needs its own state.
        private final ThreadLocal<Queue<Event>> queue =
            new ThreadLocal<Queue<Event>>() {
              @Override
              protected Queue<Event> initialValue() {
                return new ArrayDeque<>();
              }
            };
    
        /** Per-thread dispatch state, used to avoid reentrant event dispatching. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        private Object readResolve() {
          return new RegularContiguousSet<>(range, domain);
        }
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidQueryCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionQuery.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidQueryCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 21.1K bytes
    - Click Count (0)
Back to Top