Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 239 for SUBSTRING (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                    if (index != null) {
                                        if (index.startsWith(".fess")) {
                                            indexObj.put("_index", index.substring(1));
                                        }
                                        if (index.endsWith("scheduled_job")) {
                                            resetJobs.set(true);
                                        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static String getExtension(final String path) {
            assertArgumentNotNull("path", path);
    
            final int extPos = path.lastIndexOf(".");
            if (extPos >= 0) {
                return path.substring(extPos + 1);
            }
            return null;
        }
    
        /**
         * Removes the extension from the path.
         *
         * @param path
         *            The path. Must not be {@literal null}.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

            pin.startsWith("sha1/") -> {
              this.hashAlgorithm = "sha1"
              this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
            pin.startsWith("sha256/") -> {
              this.hashAlgorithm = "sha256"
              this.hash = pin.substring("sha256/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 14.1K bytes
    - Click Count (1)
  4. fastapi/openapi/docs.py

                var isValid, qp, arr;
    
                if (/code|token|error/.test(window.location.hash)) {
                    qp = window.location.hash.substring(1).replace('?', '&');
                } else {
                    qp = location.search.substring(1);
                }
    
                arr = qp.split("&");
                arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';});
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            final File rootDir = ResourceUtil.getBuildDir(getClass());
            final String path = ResourceUtil.getResourcePath(getClass());
            final int pos = path.lastIndexOf("/");
            final String baseDirectory = path.substring(0, pos);
            ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {
                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/http/NtlmSsp.java

            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);
                    final Type2Message type2 = new Type2Message(tc, type1, challenge, null);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.contains("0x"));
                assertTrue(result.contains("dc=LARGEDC"));
                // The hex string should be 32 chars long (16 bytes * 2)
                String hexPart = result.substring(result.indexOf("0x") + 2, result.indexOf(",dc="));
                assertEquals(32, hexPart.length());
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

            final String trace = sb.toString();
            final int columnSize = 200;
            return trace.length() > columnSize ? trace.substring(0, columnSize) : trace;
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. internal/lock/lock_windows_test.go

    	veryLong := "l" + strings.Repeat("o", 248) + "ng"
    	for _, test := range []struct{ in, want string }{
    		// Short; unchanged:
    		{`C:\short.txt`, `C:\short.txt`},
    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String adocFileName = adocFile.getName();
                // getting_started.adoc -> getting_started-docinfo.html
                String docInfoName = adocFileName.substring(0, adocFileName.lastIndexOf('.')) + "-docinfo.html";
                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top