Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,735 for Result (0.13 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            // When
            String result = trans.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");
            assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level.");
            assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        }
        val result = plans[nextPlanIndex++]
        events += "take plan ${result.id}"
    
        if (result.yieldBeforePlanReturns) {
          taskFaker.yield()
        }
    
        val planningThrowable = result.planningThrowable
        if (planningThrowable != null) throw planningThrowable
    
        return result
      }
    
      override fun hasNext(failedConnection: RealConnection?): Boolean =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        super.setUp();
        timeLimiter = new FakeTimeLimiter();
      }
    
      public void testCallWithTimeout_propagatesReturnValue() throws Exception {
        String result =
            timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testCallWithTimeout_wrapsCheckedException() throws Exception {
        Exception exception = new SampleCheckedException();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        void hasCapability_variousCaps(int cap) throws SmbException {
            when(transport.hasCapability(anyInt())).thenAnswer(inv -> ((int) inv.getArgument(0)) >= 0);
    
            boolean result = transport.hasCapability(cap);
    
            assertEquals(cap >= 0, result);
            verify(transport, times(1)).hasCapability(cap);
        }
    
        // Invalid input: simulate underlying SmbException when capability check fails
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                verify(mockReferralData, times(1)).isResolveHashes();
    
                // Test with concrete implementation
                boolean result = concreteImplementation.isResolveHashes();
                assertNotNull(result);
            }
    
            @Test
            @DisplayName("Should check if intermediate")
            void testIsIntermediate() {
                // Test with mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/RelatedQueryPager.java

            versionNo = null;
    
        }
    
        /**
         * Gets the total number of records in the result set.
         *
         * @return the total record count
         */
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        /**
         * Sets the total number of records in the result set.
         *
         * @param allRecordCount the total record count to set
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top