Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 360 for spare (0.15 sec)

  1. guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      public void testBadArguments_plusforspace() {
        // space can be a safe char if plusForSpace is false
        PercentEscaper unused = new PercentEscaper(" ", false);
    
        // space cannot be a safe char is plusForSpace is true
        String msg = "plusForSpace cannot be specified when space is a 'safe' character";
        IllegalArgumentException expected =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

          // H T T P / 1 . 1   2 0 0   T e m p o r a r y   R e d i r e c t
          // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
    
          // Parse protocol like "HTTP/1.1" followed by a space.
          val codeStart: Int
          val protocol: Protocol
          if (statusLine.startsWith("HTTP/1.")) {
            if (statusLine.length < 9 || statusLine[8] != ' ') {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        val body =
          FormBody
            .Builder()
            .add("a+=& b", "c+=& d")
            .add("space, the", "final frontier")
            .add("%25", "%25")
            .build()
        assertThat(body.size).isEqualTo(3)
        assertThat(body.encodedName(0)).isEqualTo("a%2B%3D%26+b")
        assertThat(body.encodedName(1)).isEqualTo("space%2C+the")
        assertThat(body.encodedName(2)).isEqualTo("%2525")
        assertThat(body.name(0)).isEqualTo("a+=& b")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         *
         * @return the registration ID
         */
        public String getRegistrationId() {
            return registrationId;
        }
    
        /**
         * Gets the share name.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
        /**
         * Gets the server address.
         *
         * @return the server address
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

     * on the server, such as a file share or printer.
     *
     * @author mbechler
     */
    public class Smb2TreeConnectRequest extends ServerMessageBlock2Request<Smb2TreeConnectResponse> {
    
        private int treeFlags;
        private final String path;
    
        /**
         * Creates a new SMB2 tree connect request to establish a connection to a network share.
         *
         * @param config the CIFS configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                            .withCopyFileToContainer(MountableFile.forHostPath(tempDir.resolve("shared")), "/share/shared")
                            .withCommand("-u", USERNAME + ";" + PASSWORD, "-s", "public;/share/public;yes;no;yes;all;;all;all", "-s",
                                    "shared;/share/shared;no;no;no;all;" + USERNAME + ";all;all", "-g", "log level = 1", "-g",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                        for (int i = 0; i < opsPerThread; i++) {
                            String share = "share" + (threadId % 3); // Use 3 different shares
    
                            // Get or create tree
                            SmbTreeImpl tree = session.getSmbTree(share, null);
                            assertNotNull(tree, "Tree should not be null");
    
                            // Verify we can acquire the tree
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "\\\\server\\share", "\\\\192.168.1.1\\share", "\\\\server.domain.com\\share", "\\\\server\\share\\subfolder",
                "\\\\s\\s" // Minimum path
        })
        @DisplayName("Should handle various valid path formats")
        void testVariousPathFormats(String path) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 COM_TREE_DISCONNECT command implementation.
     *
     * This command disconnects from a tree connection (share) on the server.
     * It releases the tree ID and terminates access to the share.
     */
    public class SmbComTreeDisconnect extends ServerMessageBlock {
    
        /**
         * Constructs a tree disconnect request to close a connection to a shared resource.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            referral.server = "testServer";
            referral.share = "testShare";
            referral.link = "testLink";
            referral.path = "/test/path";
            referral.ttl = 300;
            referral.expiration = 1234567890L;
            referral.resolveHashes = true;
    
            // When
            String expectedString =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top