Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,705 for using (0.01 sec)

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

                     * user-supplied executor might be, but... what can we do? This is another reason
                     * to return a proper ListenableFuture instead of using listenInPoolThread.
                     */
                    getUninterruptibly(delegate);
                  } catch (Throwable t) {
                    // (including CancellationException and sneaky checked exception)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessClientTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.witness.WitnessRegistration.WitnessRegistrationState;
    
    /**
     * Unit tests for WitnessClient class using mocks.
     */
    @ExtendWith(MockitoExtension.class)
    public class WitnessClientTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class);
    
            // Mock the parse method to return two different objects based on input
            // Must use matchers for all arguments when using any matcher
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class)))
                    .thenReturn(Collections.singletonList(mockAuthData1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            assertTrue(result.endsWith("]"));
        }
    
        @Test
        void testGetResponseLength() throws Exception {
            // Test getResponseLength method
            // First, set dataCount using reflection (since setDataCount is in parent class)
            Method setDataCountMethod = SmbComTransactionResponse.class.getDeclaredMethod("setDataCount", int.class);
            setDataCountMethod.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/WinErrorTest.java

    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class WinErrorTest {
    
        // Helper to lookup a message by code using the production arrays
        private static Optional<String> lookupMessage(int code) {
            int[] codes = WinError.WINERR_CODES;
            String[] msgs = WinError.WINERR_MESSAGES;
            for (int i = 0; i < codes.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * For example, an artifact of type {@value org.apache.maven.api.Type#JAR} can be placed
         * either on the class-path or on the module-path. The project needs to make a choice
         * (possibly using heuristic rules), then add the dependency in only one of the paths
         * identified by {@link PathType}.
         *
         * @return file paths to place on the different tool options
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

        }
    
        /**
         * Creates a new resolved source for the specified path and location.
         * Resolved sources are used for artifacts that have been resolved by Maven
         * from repositories (using groupId:artifactId:version coordinates) and
         * downloaded to the local repository. These sources do not support resolving
         * other sources.
         *
         * @param path the path to the POM file or project directory
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.flags2 = fl;
        }
    
        /**
         * Adds flags to the flags2 field using bitwise OR
         * @param fl flags to add
         */
        public final void addFlags2(final int fl) {
            this.flags2 |= fl;
        }
    
        /**
         * Removes flags from the flags2 field using bitwise AND NOT
         * @param fl flags to remove
         */
        public final void remFlags2(final int fl) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (value instanceof Boolean) {
                return (Boolean) value;
            }
    
            return false;
        }
    
        /**
         * Calculates the boost value for the given document data using the boost expression.
         * The method evaluates the boost expression and converts the result to a float value.
         * Supports Integer, Long, Float, Double, and String representations of numbers.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. docs/works_with_okhttp.md

     * [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp.
     * [okhttp-client-mock](https://github.com/gmazzo/okhttp-client-mock): A simple OKHttp client mock, using a programmable request interceptor.
     * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top