Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 342 for startswith (0.07 sec)

  1. ci/official/utilities/convert_msys_paths_to_win_paths.py

      """Check the variable name against white/black lists."""
      if blacklist and var_name in blacklist:
        return False
      if not whitelist_prefix:
        return True
    
      for prefix in whitelist_prefix:
        if var_name.startswith(prefix):
          return True
      return False
    
    
    def main(parsed_args: argparse.Namespace):
      converted_vars = {}
    
      for var, value in os.environ.items():
        if not value or not should_convert(var,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

            if (path == null) {
                return null;
            }
    
            for (final Map.Entry<String, SmbAuthentication> entry : authMap.entrySet()) {
                if (path.startsWith(entry.getKey())) {
                    return entry.getValue();
                }
            }
            return null;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    if (this.uncPath.startsWith("\\pipe\\")) {
                        th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    }
    
                    if (th.hasCapability(SmbConstants.CAP_NT_SMBS) || this.uncPath.startsWith("\\pipe\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final boolean isSmbUrl = url.startsWith("smb:") || url.startsWith("smb1:");
            final boolean isFtpUrl = url.startsWith("ftp:");
            final boolean isSmbOrFtpUrl = isSmbUrl || isFtpUrl;
    
            // replacing url with mapping data
            url = ComponentUtil.getPathMappingHelper().replaceUrl(url);
    
            final boolean isHttpUrl = url.startsWith("http:") || url.startsWith("https:");
    
            if (isSmbUrl) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            response.eaErrorOffset = 0;
            response.lastNameOffset = 100;
            response.lastName = "file5.txt";
    
            String actual = response.toString();
            assertTrue(actual.startsWith("Trans2FindFirst2Response["));
            assertTrue(actual.contains("sid=123"));
            assertTrue(actual.contains("searchCount=5"));
            assertTrue(actual.contains("isEndOfSearch=true"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

        SmbTreeImpl(final SmbSessionImpl session, final String share, final String service) {
            this.session = session.acquire();
            this.share = share.toUpperCase();
            if (service != null && !service.startsWith("??")) {
                this.service = service;
            }
            this.service0 = this.service;
    
            this.traceResource = this.session.getConfig().isTraceResourceUsage();
            if (this.traceResource) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    ---
    
    But if you're curious about this specific code example and you're still entertained, here are some extra details.
    
    #### String with `value.startswith()` { #string-with-value-startswith }
    
    Did you notice? a string using `value.startswith()` can take a tuple, and it will check each value in the tuple:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            String process = spec;
            ArtifactVersion version = null;
            ArtifactVersion upperBound = null;
            ArtifactVersion lowerBound = null;
    
            while (process.startsWith("[") || process.startsWith("(")) {
                int index1 = process.indexOf(')');
                int index2 = process.indexOf(']');
    
                int index = index2;
                if (index2 < 0 || index1 < index2) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java

        }
    
        @Test
        void acceptHandlesNullName() throws Exception {
            SmbFile dir = Mockito.mock(SmbFile.class);
            SmbFilenameFilter filter = (d, n) -> n != null && n.startsWith("a");
            assertFalse(filter.accept(dir, null));
        }
    
        @Test
        void acceptPropagatesException() {
            SmbFile dir = Mockito.mock(SmbFile.class);
            SmbFilenameFilter filter = (d, n) -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

        }
    
        @Test
        @DisplayName("toString contains class name and delegates to superclass")
        void toStringMatches() {
            String s = response.toString();
            assertNotNull(s);
            assertTrue(s.startsWith("SmbComSetInformationResponse["));
            assertTrue(s.endsWith("]"));
            // Verify it contains superclass toString content
            assertTrue(s.length() > "SmbComSetInformationResponse[]".length());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top