Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 940 for sock (0.03 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            assertEquals(1, slf4jConfiguration.setRootLoggerLevelCallCount);
            assertEquals(Slf4jConfiguration.Level.ERROR, slf4jConfiguration.lastSetLevel);
        }
    
        // Mock classes for testing
        private static class MockInvokerRequest {
            private final boolean verbose;
    
            MockInvokerRequest(boolean verbose) {
                this.verbose = verbose;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

     */
    
    package mockwebserver3
    
    import java.io.IOException
    import okhttp3.Handshake
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okio.ByteString
    
    /** An HTTP request that came into the mock web server. */
    public class RecordedRequest(
      /**
       * The index of the socket connection that carried this request. If two recorded requests share a
       * connection index, they also shared a socket connection.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 3.2K bytes
    - Click Count (1)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            if (metadataFile.length() == 0) {
                if (!metadataFile.delete()) {
                    // sleep for 10ms just in case this is windows holding a file lock
                    try {
                        Thread.sleep(10);
                    } catch (InterruptedException e) {
                        // ignore
                    }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        TearDownStack result = new TearDownStack();
        tearDownStack.addTearDown(
            new TearDown() {
    
              @Override
              public void tearDown() throws Exception {
                synchronized (result.lock) {
                  assertEquals(
                      "The test should have cleared the stack (say, by virtue of running runTearDown)",
                      0,
                      result.stack.size());
                }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 01 13:14:50 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. docs/sts/dex.md

    time="2020-07-12T20:45:50Z" level=info msg="config storage: sqlite3"
    time="2020-07-12T20:45:50Z" level=info msg="config static client: Example App"
    time="2020-07-12T20:45:50Z" level=info msg="config connector: mock"
    time="2020-07-12T20:45:50Z" level=info msg="config connector: local passwords enabled"
    time="2020-07-12T20:45:50Z" level=info msg="config response types accepted: [code token id_token]"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for NegotiateContextResponse interface and its implementations
     */
    @ExtendWith(MockitoExtension.class)
    class NegotiateContextResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Nested
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.smb1.ServerMessageBlock;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

     * </p>
     *
     */
    public class DataServiceImpl implements DataService<AccessResultImpl<Long>> {
    
        /** Counter for generating unique IDs */
        protected static volatile long idCount = 0L;
    
        /** Lock object for synchronizing access to idCount */
        private static Object idCountLock = new Object();
    
        /** Helper for managing access result data in memory */
        @Resource
        protected MemoryDataHelper dataHelper;
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PacTest.java

            // Test with mocked PacMac to avoid complex signature calculation
            try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) {
                // Mock the calculateMac method to return a valid checksum
                byte[] mockChecksum = new byte[16];
                pacMacMock.when(() -> PacMac.calculateMac(anyInt(), any(), any())).thenReturn(mockChecksum);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/projects/StageProject.kt

                stage.flameGraphs.map { createFlameGraphs(model, stage, it) }
    
            val (topLevelCoverage, allCoverage) = stage.functionalTests.partition { it.testType == TestType.SOAK }
            val topLevelFunctionalTests =
                topLevelCoverage
                    .map { FunctionalTest(model, it.asConfigurationId(model), it.asName(), it.asName(), it, stage = stage) }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 00:34:25 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top