Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 776 for sock (0.02 sec)

  1. src/test/java/jcifs/smb/SmbFileFilterTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    class SmbFileFilterTest {
    
        @Mock
        private SmbFile smbFile;
    
        // Provides file names and whether a simple name-based filter should accept them
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResourceException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Resource type that caused the error
         */
        public enum ResourceType {
            FILE_HANDLE, CONNECTION, MEMORY, DISK_SPACE, QUOTA, LOCK, BUFFER, THREAD_POOL
        }
    
        private final ResourceType resourceType;
        private final long availableResources;
        private final long requestedResources;
    
        /**
         * Creates a resource exception
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    
    /**
     * Test class for SmbComTransaction
     */
    class SmbComTransactionTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TestSmbComTransaction transaction;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    class ServerMessageBlock2Test {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Smb2SigningDigest mockDigest;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/body-nested-models.md

    Das würde bedeuten, dass **FastAPI** einen Body erwartet wie:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Wiederum, nur mit dieser Deklaration erhalten Sie von **FastAPI**:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

        platform.assumeJdk9()
        val applicationProtocolUnsupported =
          object : DelegatingSSLSocket(null) {
            override fun getApplicationProtocol(): String = throw UnsupportedOperationException("Mock exception")
          }
        assertThat(Jdk9Platform().getSelectedProtocol(applicationProtocolUnsupported)).isNull()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        /**
         * Default connection timeout in milliseconds.
         */
        int DEFAULT_CONN_TIMEOUT = 35000;
    
        /**
         * No flags set in SMB header.
         */
        int FLAGS_NONE = 0x00;
        /**
         * Obsolete lock and read/write and unlock flag.
         */
        int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01;
        /**
         * Receive buffer has been posted flag.
         */
        int FLAGS_RECEIVE_BUFFER_POSTED = 0x02;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/StringCatcher.java

    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.Assert;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A simple EventSubscriber mock that records Strings.
     *
     * <p>For testing fun, also includes a landmine method that EventBus tests are required not
     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. doc/go_mem.html

    var a string
    
    func f() {
    	a = "hello, world"
    	l.Unlock()
    }
    
    func main() {
    	l.Lock()
    	go f()
    	l.Lock()
    	print(a)
    }
    </pre>
    
    <p>
    is guaranteed to print <code>"hello, world"</code>.
    The first call to <code>l.Unlock()</code> (in <code>f</code>) is synchronized
    before the second call to <code>l.Lock()</code> (in <code>main</code>) returns,
    which is sequenced before the <code>print</code>.
    </p>
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for BasicFileInformation interface and its implementations
     */
    @ExtendWith(MockitoExtension.class)
    class BasicFileInformationTest {
    
        @Mock
        private BasicFileInformation mockBasicFileInfo;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top