Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,756 for RESULT (3.19 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

       * Runnable}, and arrange that {@code get} will return the given result on successful completion.
       *
       * @param runnable the runnable task
       * @param result the result to return on successful completion. If you don't need a particular
       *     result, consider using constructions of the form: {@code ListenableFuture<?> f =
       *     ListenableFutureTask.create(runnable, null)}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

        for (CollectStrategy scheme : CollectStrategy.values()) {
          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
            R result = (R) finalAccum;
            assertEquivalent(expectedResult, result);
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(future, callback, directExecutor());
        future.set(result);
        assertEquals(result, future.get());
        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testOnSuccessThrowsError() throws Exception {
        SomeError error = new SomeError();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java

    /**
     * Interface representing the data of an access result.
     *
     * @param <IDTYPE> the type of the identifier
     */
    public interface AccessResultData<IDTYPE> {
    
        /**
         * Retrieves the unique identifier of the access result data.
         *
         * @return the unique identifier of type IDTYPE.
         */
        IDTYPE getId();
    
        /**
         * Sets the ID of the access result data.
         *
         * @param id the ID to set
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.2K bytes
    - Viewed (10)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            String result = trans2QueryFSInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("Trans2QueryFSInformation"));
            assertTrue(result.contains("informationLevel=0x"));
            // SMB_INFO_ALLOCATION is -1, which should be displayed properly
            assertTrue(result.contains("fff") || result.contains("FFF"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTreeTest.java

            when(smbTree.unwrap(SmbTree.class)).thenReturn(smbTree);
    
            SmbTree result = smbTree.unwrap(SmbTree.class);
    
            assertNotNull(result, "Unwrapped tree should not be null");
            assertSame(smbTree, result, "Should return itself when unwrapping to SmbTree");
        }
    
        /**
         * Test for unwrap() method with null result.
         * Verifies behavior when unwrap returns null.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test successful calls in CLOSED state")
        void testSuccessfulCalls() throws Exception {
            String result = circuitBreaker.call(() -> "success");
            assertEquals("success", result);
            assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());
    
            SimpleCircuitBreaker.Statistics stats = circuitBreaker.getStatistics();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            int result = smbComQueryInformation.readParameterWordsWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testReadBytesWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComQueryInformation.readBytesWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

            ArtifactTypeRegistry stereotypes = session.getArtifactTypeRegistry();
    
            for (Repository r : model.getRepositories()) {
                result.addRepository(ArtifactDescriptorUtils.toRemoteRepository(r));
            }
    
            for (org.apache.maven.model.Dependency dependency : model.getDependencies()) {
                result.addDependency(convert(dependency, stereotypes));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 20 22:29:18 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

            val result = run(":successful-test-with-leftover:test", "--no-watch-fs").buildAndFail()
            assertEquals(TaskOutcome.SUCCESS, result.task(":successful-test-with-leftover:test")!!.outcome)
    
            assertEquals(1, StringUtils.countMatches(result.output, "Found non-empty test files dir"))
            assertEquals(1, StringUtils.countMatches(result.output, "Failed to stop service 'testFilesCleanupBuildService'"))
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 18 10:36:40 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top