Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 227 for Trim (0.02 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                        break;
                    }
                    if (currentAuthMethod.indexOf(' ') != 4) continue;
                    authMethod = "NTLM";
                    authorization = currentAuthMethod.substring(5).trim();
                    break;
                } else if (currentAuthMethod.startsWith("Negotiate")) {
                    if (currentAuthMethod.length() == 9) {
                        authMethod = "Negotiate";
                        break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    break;
                }
            }
    
            return fullMessage.trim();
        }
    
        private String join(String message1, String message2) {
            String message = "";
    
            if (message1 != null && !message1.isEmpty()) {
                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        public FesenClient() {
            address = System.getProperty(HTTP_ADDRESS, "localhost:9200").trim();
            final String targets = System.getProperty(TARGET_INDICES);
            if (StringUtil.isNotBlank(targets)) {
                targetIndices = Arrays.stream(targets.split(",")).map(String::trim).toArray(n -> new String[n]);
            }
        }
    
        public void setAddress(final String address) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testLtrim() throws Exception {
            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
            assertEquals("trim", StringUtil.rtrim("trimxxxx", "x"));
            assertEquals("", StringUtil.rtrim("xyz", "xyz"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

         */
        private static String protocol(final String url) {
            final int pos = url.indexOf(':');
    
            if (pos == -1) {
                return "";
            }
            return url.substring(0, pos).trim();
        }
    
        /**
         * Derive the path portion of the given URL.
         *
         * @param url the repository URL
         * @return the basedir of the repository
         * TODO need to URL decode for spaces?
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      val mimeType =
        headers?.let {
          for (header in it) {
            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    private fun isSpecialHeader(s: String): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. internal/logger/message/audit/entry.go

    	for k, v := range wh {
    		respHeader[k] = strings.Join(v, ",")
    	}
    	entry.RespHeader = respHeader
    
    	if etag := respHeader[xhttp.ETag]; etag != "" {
    		respHeader[xhttp.ETag] = strings.Trim(etag, `"`)
    	}
    
    	return entry
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js

    gest(d,c,b),d.addClass("has-suggestions"))}),this}}(a,window),function(a){"use strict";a.formUtils=a.extend(a.formUtils||{},{isLoadingModules:!1,loadedModules:{},registerLoadedModule:function(b){this.loadedModules[a.trim(b).toLowerCase()]=!0},hasLoadedModule:function(b){return a.trim(b).toLowerCase()in this.loadedModules},loadModules:function(b,c,d){if(a.formUtils.isLoadingModules)return void setTimeout(function(){a.formUtils.loadModules(b,c,d)},100);var e=function(b,c){var e=a.split(b),f=e.leng...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 32.8K bytes
    - Viewed (0)
  9. internal/handlers/proxy.go

    		if match := forRegex.FindStringSubmatch(fwd); len(match) > 1 {
    			// IPv6 addresses in Forwarded headers are quoted-strings. We strip
    			// these quotes.
    			addr = strings.Trim(match[1], `"`)
    		}
    	}
    
    	return addr
    }
    
    // GetSourceIPRaw retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    // however returns without bracketing.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                if (buf.length() == 0) {
                    throw new ExtractException("Could not extract a content.", e);
                }
            }
    
            return new ExtractData(buf.toString().trim());
        }
    
        public void setMaxContentSize(final long maxContentSize) {
            this.maxContentSize = maxContentSize;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top