Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 227 for Trim (0.21 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
                            String splitExpr;
                            if (l.contains(">>")) {
                                global = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            if (contentLength == -1L && lowercaseHeader.startsWith("content-length:")) {
              contentLength = header.substring(15).trim().toLong()
            }
            if (lowercaseHeader.startsWith("transfer-encoding:") &&
              lowercaseHeader.substring(18).trim() == "chunked"
            ) {
              chunked = true
            }
          }
    
          val peek = dispatcher.peek()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. cmd/httprange.go

    	if !strings.HasPrefix(rangeString, byteRangePrefix) {
    		return nil, fmt.Errorf("'%s' does not start with '%s'", rangeString, byteRangePrefix)
    	}
    
    	// Trim byte range prefix.
    	byteRangeString := strings.TrimPrefix(rangeString, byteRangePrefix)
    
    	// Check if range string contains delimiter '-', else return error. eg. "bytes=8"
    	sepIndex := strings.Index(byteRangeString, "-")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. cmd/bucket-policy.go

    		} else {
    			args[key] = values
    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        if ( currentAuthMethod.indexOf(' ') != 4 )
                            continue;
                        this.authMethod = "NTLM";
                        authorization = currentAuthMethod.substring(5).trim();
                        break;
                    }
                    else if ( currentAuthMethod.startsWith("Negotiate") ) {
                        if ( currentAuthMethod.length() == 9 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  7. Makefile.core.mk

    # List of binaries that have their size tested
    RELEASE_SIZE_TEST_BINARIES:=pilot-discovery pilot-agent istioctl envoy ztunnel client server
    
    # agent: enables agent-specific files. Usually this is used to trim dependencies where they would be hard to trim through standard refactoring
    # disable_pgv: disables protoc-gen-validation. This is not used buts adds many MB to Envoy protos
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                sb.append(escapedKey).append("=");
            } else {
                String val0 = valueLines.get(0);
                String rv0 = typed ? val0 : escapeJava(val0);
                if (!val0.trim().startsWith(escapedKey)) {
                    valueLines.set(0, escapedKey + " = " + rv0 /*+ (0 < lastLine? "\\": "")*/);
                    sb.append(escapedKey).append(" = ").append(rv0);
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. schema/field.go

    			}
    		}
    	case reflect.String:
    		field.DataType = String
    		if field.HasDefaultValue && !skipParseDefaultValue {
    			field.DefaultValue = strings.Trim(field.DefaultValue, "'")
    			field.DefaultValue = strings.Trim(field.DefaultValue, `"`)
    			field.DefaultValueInterface = field.DefaultValue
    		}
    	case reflect.Struct:
    		if _, ok := fieldValue.Interface().(*time.Time); ok {
    			field.DataType = Time
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

        @Resource
        protected SystemHelper systemHelper;
    
        public String encode(final String value) {
            if (StringUtil.isBlank(value)) {
                return null;
            }
    
            String permission = value.trim();
            String lower = permission.toLowerCase(Locale.ROOT);
            final String aclPrefix;
            if (lower.startsWith(allowPrefix)) {
                lower = lower.substring(allowPrefix.length());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top