Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for talk (0.15 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !");
        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 24.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * will not be released until that submitted task is also complete.
       *
       * <p>If a task is {@linkplain Thread#interrupt interrupted} while a task is running:
       *
       * <ol>
       *   <li>execution will not stop until the task queue is empty.
       *   <li>tasks will begin execution with the thread marked as not interrupted - any interruption
       *       applies only to the task that was running at the point of interruption.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        public <T> Future<T> submit(Callable<T> task) {
          lastMethodCalled = "submit";
          assertThat(task).isInstanceOf(WrappedCallable.class);
          return inline.submit(task);
        }
    
        @Override
        public Future<?> submit(Runnable task) {
          lastMethodCalled = "submit";
          assertThat(task).isInstanceOf(WrappedRunnable.class);
          return inline.submit(task);
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jan 05 19:41:03 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

       * identify deadlocks.
       */
      @VisibleForTesting
      static final class Blocker extends AbstractOwnableSynchronizer implements Runnable {
        private final InterruptibleTask<?> task;
    
        private Blocker(InterruptibleTask<?> task) {
          this.task = task;
        }
    
        @Override
        public void run() {}
    
        private void setOwner(Thread thread) {
          super.setExclusiveOwnerThread(thread);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            return new org.codehaus.plexus.util.xml.Xpp3Dom(dom);
        }
    
        // org.apache.maven.plugins:maven-remote-resources-plugin:1.0:process@executionId
    
        public MojoDescriptor getMojoDescriptor(String task, MavenSession session, MavenProject project)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              public void run() {
                runChosenTest();
              }
            };
        final FutureTask<@Nullable Void> task = new FutureTask<>(runChosenTest, null);
        startThread(
            new Runnable() {
              @Override
              public void run() {
                task.run();
              }
            });
        awaitUninterruptibly(doingCallLatch);
        long hangDelayMillis =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

              }
            });
      }
    
      private long doMultithreadedLoop(Callable<Long> task)
          throws InterruptedException, ExecutionException {
    
        List<Future<Long>> futures = Lists.newArrayListWithCapacity(threads);
        for (int i = 0; i < threads; i++) {
          futures.add(threadPool.submit(task));
        }
        long total = 0;
        for (Future<Long> future : futures) {
          total += future.get();
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            Path outputDirectory = Paths.get(project.getBuild().getOutputDirectory());
            if (!outputDirectory.toFile().exists()) {
                return true;
            }
    
            try (Stream<Path> outputFiles = Files.walk(outputDirectory)) {
                // Not using File#lastModified() to avoid a Linux JDK8 milliseconds precision bug: JDK-8177809.
                long artifactLastModified =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertFalse(Files.exists(symlink, NOFOLLOW_LINKS));
          assertTrue(Files.isDirectory(realSymlinkTarget, NOFOLLOW_LINKS));
        }
      }
    
      /**
       * Starts a new task on the given executor that switches (deletes and replaces) a file between
       * being a directory and being a symlink. The given {@code file} is the file that should switch
    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)
Back to top