Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 5,086 for Strings (0.05 sec)

  1. src/main/java/org/codelibs/core/io/LineIterator.java

     *
     * BufferedReader reader = ...;
     * for (String line : iterable(reader)) {
     *     ...
     * }
     * </pre>
     *
     * @author koichik
     */
    public class LineIterator implements Iterator<String> {
    
        /** String object indicating that {@link #line} is empty */
        protected static final String EMPTY = new String();
    
        /** {@link BufferedReader} */
        protected final BufferedReader reader;
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. cmd/utils.go

    }
    
    // AuditLogOptions takes options for audit logging subsystem activity
    type AuditLogOptions struct {
    	Event     string
    	APIName   string
    	Status    string
    	Bucket    string
    	Object    string
    	VersionID string
    	Error     string
    	Tags      map[string]string
    }
    
    // sends audit logs for internal subsystem activity
    func auditLogInternal(ctx context.Context, opts AuditLogOptions) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex_test.go

    		input.Push(NewTokenizer(test.name, strings.NewReader(test.input), nil))
    		result := drain(input)
    		if result != test.output {
    			t.Errorf("%s: got %q expected %q", test.name, result, test.output)
    		}
    	}
    }
    
    // lines joins the arguments together as complete lines.
    func lines(a ...string) string {
    	return strings.Join(a, "\n") + "\n"
    }
    
    // drain returns a single string representing the processed input tokens.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/InputValidatorTest.java

        @ValueSource(strings = { "../etc/passwd", "..\\windows\\system32", "folder/../../../etc", "test/../../root", "..\\..\\..\\windows" })
        void testPathTraversal(String path) {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateSmbPath(path));
        }
    
        @ParameterizedTest
        @DisplayName("Test valid SMB paths")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. cmd/data-scanner_test.go

    	}
    	fivs := make([]FileInfo, 5)
    	objInfos := make([]ObjectInfo, 5)
    	objRetentionMeta := make(map[string]string)
    	objRetentionMeta[strings.ToLower(xhttp.AmzObjectLockMode)] = string(objectlock.RetCompliance)
    	// Set retain until date 12 hours into the future
    	objRetentionMeta[strings.ToLower(xhttp.AmzObjectLockRetainUntilDate)] = amztime.ISO8601Format(now.Add(12 * time.Hour))
    	/*
    		objInfos:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. cmd/streaming-v4-unsigned.go

    		line := strings.TrimSpace(input.Text())
    		if line == "" {
    			continue
    		}
    		// Find first separator.
    		idx := strings.IndexByte(line, trailerKVSeparator[0])
    		if idx <= 0 || idx >= len(line) {
    			if cr.debug {
    				fmt.Printf("Could not find separator, got %q\n", line)
    			}
    			return errMalformedEncoding
    		}
    		key := strings.ToLower(line[:idx])
    		value := line[idx+1:]
    		if _, ok := wantTrailers[key]; !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java

      public Multiset<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Multiset<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/UniAddressTest.java

            assertFalse(UniAddress.isDotQuadIP(value), "isDotQuadIP should return false for non IP-like values");
        }
    
        @Test
        void isDotQuadIPHandlesEmptyString() {
            // Empty string should return false, not throw exception
            assertFalse(UniAddress.isDotQuadIP(""), "isDotQuadIP should return false for empty string");
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         */
        void interpolate(
                @Nonnull Map<String, String> map,
                @Nullable UnaryOperator<String> callback,
                @Nullable BinaryOperator<String> postprocessor,
                boolean defaultsToEmpty);
    
        /**
         * Interpolates a single string value using the provided callback function.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser_test.go

    	return strings.Join([]string{
    		accessKey,
    		date,
    		region,
    		service,
    		requestVersion,
    	}, SlashSeparator)
    }
    
    // generate CredentialHeader from its fields.
    func generateCredentials(t *testing.T, accessKey string, date string, region, service, requestVersion string) credentialHeader {
    	cred := credentialHeader{
    		accessKey: accessKey,
    	}
    	parsedDate, err := time.Parse(yyyymmdd, date)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.4K bytes
    - Viewed (0)
Back to top