Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 109 for substring (0.03 sec)

  1. src/main/java/jcifs/audit/SecurityAuditLogger.java

                String key = entry.getKey();
                int lastUnderscore = key.lastIndexOf('_');
                if (lastUnderscore > 0) {
                    try {
                        long window = Long.parseLong(key.substring(lastUnderscore + 1));
                        return window < currentWindow - 2; // Keep current and previous window
                    } catch (NumberFormatException e) {
                        return true; // Remove invalid entries
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

            if (length <= 0) {
                return StringUtils.EMPTY;
            }
            if (length >= buf.length()) {
                return buf.toString();
            }
            return buf.substring(buf.length() - length, buf.length());
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    	done         bool      // Scan has finished.
    }
    
    // SplitFunc is the signature of the split function used to tokenize the
    // input. The arguments are an initial substring of the remaining unprocessed
    // data and a flag, atEOF, that reports whether the [Reader] has no more data
    // to give. The return values are the number of bytes to advance the input
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    if (i < 0) {
                        share = canon.substring(1);
                        unc = "\\";
                    } else if (i == o) {
                        share = canon.substring(1, i);
                        unc = "\\";
                    } else {
                        share = canon.substring(1, i);
                        unc = canon.substring(i, out[o] == '/' ? o : o + 1);
                        unc = unc.replace('/', '\\');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/mdo/maven.mdo

                <li>{@code substring(string, start, [end])}: Returns a substring of the given string.</li>
                <li>{@code indexOf(string, substring)}: Returns the index of the first occurrence of substring in string, or -1 if not found.</li>
                <li>{@code contains(string, substring)}: Checks if the string contains the substring.</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Given
            int securityMode = Integer.decode(securityModeHex);
            int capabilities = (int) Long.parseLong(capabilitiesHex.substring(2), 16);
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, 0, null);
            byte[] buffer = new byte[512];
    
            // When
            req.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Number of names
            src[srcIndex] = (byte) numNames;
    
            // Fill in name entries
            for (int i = 0; i < numNames; i++) {
                String name = String.format("NAME%02d          ", i).substring(0, 16);
                System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1 + (i * 18), 16);
                src[srcIndex + 1 + (i * 18) + 15] = (byte) i; // Different hex codes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         */
        protected RequestData getDuplicateUrl(final RequestData requestData) {
            final String url = requestData.getUrl();
            if (url.endsWith("/")) {
                requestData.setUrl(url.substring(0, url.length() - 1));
            } else {
                requestData.setUrl(url + "/");
            }
            return requestData;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SIDCacheImpl.java

                    String server = authorityServerName;
                    final int dot = server.indexOf('.');
                    if (dot > 0 && !Character.isDigit(server.charAt(0))) {
                        server = server.substring(0, dot);
                    }
                    try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800)) {
                        resolveSids(handle, policyHandle, sids);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/ACETest.java

                "0x08, Invalid" })
        void testGetApplyToText(String flagsHex, String expectedText) {
            ace.flags = Integer.parseInt(flagsHex.substring(2), 16);
            assertEquals(expectedText, ace.getApplyToText());
        }
    
        @Test
        @DisplayName("Test toString format for allow ACE")
        void testToStringAllowACE() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top