Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 5,390 for expert (0.16 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        }
    
        /**
         * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()}
         * .
         */
        @Test
        public void testArrayIteratorRemoveException() {
            exception.expect(ClIllegalStateException.class);
            exception.expectMessage(is("last == -1"));
            ArrayMap<String, String> m = new ArrayMap<String, String>();
            Iterator<Map.Entry<String, String>> i = m.entrySet().iterator();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        assertNull(Callables.returning(null).call());
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertSame(value, callable.call());
        // Expect the same value on subsequent calls
        assertSame(value, callable.call());
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable() throws Exception {
        String expected = "MyCallableString";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/archive/zip/testdata/readme.zip

    from sources by running all.bash (see doc/install.html). You should also add the Go binary directory $GOROOT/bin to your shell's path. For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile: export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin See doc/install.html for more details....
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

            AbstractFutureState<?> future, @Nullable Waiter expect, @Nullable Waiter update) {
          return UNSAFE.compareAndSwapObject(future, WAITERS_OFFSET, expect, update);
        }
    
        @Override
        boolean casListeners(
            AbstractFutureState<?> future, @Nullable Listener expect, Listener update) {
          return UNSAFE.compareAndSwapObject(future, LISTENERS_OFFSET, expect, update);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        boolean casWaiters(
            AbstractFutureState<?> future, @Nullable Waiter expect, @Nullable Waiter update) {
          return waitersUpdater.compareAndSet(future, expect, update);
        }
    
        @Override
        boolean casListeners(
            AbstractFutureState<?> future, @Nullable Listener expect, Listener update) {
          return listenersUpdater.compareAndSet(future, expect, update);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMapValues.java

       * flavors can read old data or data from the other flavor. However, we strongly discourage
       * relying on this, as we have made incompatible changes to serialized forms in the past and
       * expect to do so again, as discussed in https://github.com/google/guava#important-warnings.
       */
      @SuppressWarnings("unused")
      private static final class SerializedForm<V> implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/api/api_test.go

    		w := NewWalker(nil, "testdata/src/pkg")
    		pkg, err := w.import_(fi.Name())
    		if err != nil {
    			t.Fatalf("import %s: %v", fi.Name(), err)
    		}
    		w.export(pkg)
    
    		if *updateGolden {
    			os.Remove(goldenFile)
    			f, err := os.Create(goldenFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    			for _, feat := range w.Features() {
    				fmt.Fprintf(f, "%s\n", feat)
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 02 17:06:27 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEscapePattern(".*\\.exe$", "regexp:\\.exe$");
            assertEscapePattern("index.html", "regexp:index.html");
        }
    
        private void assertEscapePattern(String expect, String value) {
            GsaConfigParser parser = new GsaConfigParser();
            assertEquals(expect, parser.getFilterPath(value));
        }
    
        public void test_parseFilterPaths_web() {
            GsaConfigParser parser = new GsaConfigParser();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .body("response")
            .build(),
        )
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.doOutput = true
        connection.setRequestProperty("Expect", "100-Continue")
        connection.outputStream.write("request".toByteArray(UTF_8))
        val inputStream = connection.inputStream
        val reader = BufferedReader(InputStreamReader(inputStream, UTF_8))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top