Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for getSort (0.71 sec)

  1. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

                mockService.close();
            }
        }
    
        @Test
        void testMockServiceLifecycle() throws Exception {
            assertNotNull(mockService.getAddress());
            assertTrue(mockService.getPort() > 0);
            assertEquals(0, mockService.getRegistrationCount());
    
            // Test registration
            String regId = mockService.registerWitness("\\\\server\\share", "192.168.1.100", 1);
            assertNotNull(regId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/MockWitnessService.java

        }
    
        /**
         * Get the port the service is listening on
         *
         * @return the service port
         * @throws IOException if port cannot be determined
         */
        public int getPort() throws IOException {
            if (serverSocket == null) {
                throw new IOException("Service not started");
            }
            return serverSocket.getLocalPort();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertFalse(auth.matches(null));
    
            // Test with different ports
            auth.setPort(8080);
            assertTrue(auth.matches("ftp://hostname:8080/test/aaa.html"));
            assertFalse(auth.matches("ftp://hostname:21/test/aaa.html"));
    
            // Test with no port specified in FtpAuthentication
            auth.setPort(0);
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb1://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb1://", smbAuthentication.getPathPrefix());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationTest.java

            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            smbAuthentication.setPort(1000);
            assertEquals("smb://hoge:1000/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setPort(1000);
            assertEquals("smb://", smbAuthentication.getPathPrefix());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            String server = this.fileLocator.getServerWithDfs();
            int ai;
    
            if (resolveSids) {
                if (this.fileLocator.getDfsPath() == null && this.fileLocator.getPort() != -1) {
                    server = server + ":" + this.fileLocator.getPort();
                }
                final SID[] sids = new SID[aces.length];
                for (ai = 0; ai < aces.length; ai++) {
                    sids[ai] = aces[ai].getSID();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
                return AuthScope.ANY;
            }
    
            int p;
            if (getPort() == null) {
                p = AuthScope.ANY_PORT;
            } else {
                p = getPort();
            }
    
            String r = getAuthRealm();
            if (StringUtil.isBlank(r)) {
                r = AuthScope.ANY_REALM;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(4, bytesEncoded);
    
                ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN);
                assertEquals(maxReferralLevel, bb.getShort());
                assertEquals(0, bb.getShort()); // null terminator
            }
    
            @ParameterizedTest
            @DisplayName("Should encode various referral levels correctly")
            @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Read GUID components in little-endian order
            int data1 = bb.getInt(); // first 4 bytes (little-endian)
            short data2 = bb.getShort(); // next 2 bytes (little-endian)
            short data3 = bb.getShort(); // next 2 bytes (little-endian)
    
            // The last 8 bytes are read as big-endian (network byte order for the high/low parts)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      @Synchronized override fun before() {
        if (started) return
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      @JvmName("-deprecated_port")
      fun getPort(): Int = port
    
      fun toProxyAddress(): Proxy {
        before() // This implicitly starts the delegate.
        return delegate.proxyAddress
      }
    
      @JvmName("-deprecated_serverSocketFactory")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top