Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 339 for startsWith (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/Handler.java

            final String host = u.getHost();
            String path, ref;
            int port;
    
            if (spec.equals("smb1://")) {
                spec = "smb1:////";
                limit += 2;
            } else if (!spec.startsWith("smb1://") && host != null && host.length() == 0) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL(u, spec, start, limit);
            path = u.getPath();
            ref = u.getRef();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // When
            String result = smbComTreeDisconnect.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("SmbComTreeDisconnect"));
            assertTrue(result.startsWith("SmbComTreeDisconnect["));
            assertTrue(result.endsWith("]"));
        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
            List<String> webConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_webconfig\")}.id");
            return webConfigList.get(0);
        }
    
        @AfterEach
        void deleteWebConfig() {
            final Map<String, Object> searchBody = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

            for (final JarEntry entry : iterable(jarFile.entries())) {
                if (!entry.isDirectory()) {
                    final String entryName = entry.getName().replace('\\', '/');
                    if (!entryName.startsWith(prefix)) {
                        continue;
                    }
                    final InputStream is = JarFileUtil.getInputStream(jarFile, entry);
                    try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            if (StringUtil.isBlank(virtualHostKey)) {
                return null;
            }
            final String prefix = "/" + virtualHostKey;
            if (requestPath.startsWith(prefix)) {
                return requestPath.substring(prefix.length());
            }
            return null;
        }
    
        @Override
        public String toString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmSsp.java

                final byte[] challenge) throws IOException, ServletException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                final byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
    
            // When
            String result = trans.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");
            assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
            // toString includes the class name and the sid field
            assertTrue(s.startsWith("SmbComFindClose2["));
            assertTrue(s.contains("sid=" + TEST_SID));
        }
    
        @Test
        void testWriteParameterWordsWireFormatLittleEndian() {
            byte[] dst = new byte[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
                if (lep.startsWith("\\pipe\\")) {
                    final String iface = (String) INTERFACES.get(lep.substring(6));
                    if (iface != null) {
                        int c, p;
                        c = iface.indexOf(':');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

            HTTP_2.protocol -> HTTP_2
            SPDY_3.protocol -> SPDY_3
            QUIC.protocol -> QUIC
            else -> {
              // Support HTTP3 draft like h3-29
              if (protocol.startsWith(HTTP_3.protocol)) HTTP_3 else throw IOException("Unexpected protocol: $protocol")
            }
          }
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top