Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for lineLengths (1.48 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go

    	maxLength := 96 * 1024
    	maxLines := 100
    
    	lineLengths := make([]int, maxLines)
    	for i := 0; i < maxLines; i++ {
    		lineLengths[i] = rand.Intn(maxLength-minLength) + minLength
    	}
    
    	testReadLines(t, lineLengths)
    }
    
    func testReadLines(t *testing.T, lineLengths []int) {
    	var (
    		lines       [][]byte
    		inputStream []byte
    	)
    	for _, lineLength := range lineLengths {
    		inputLine := make([]byte, lineLength+1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                        MAX_TERMINAL_WIDTH,
                        Math.max(terminalWidth < 0 ? DEFAULT_TERMINAL_WIDTH : terminalWidth, MIN_TERMINAL_WIDTH));
                lineLength = terminalWidth - MAX_LOG_PREFIX_SIZE;
                maxProjectNameLength = lineLength - PROJECT_STATUS_SUFFIX_SIZE;
            }
        }
    
        @Override
        public void projectDiscoveryStarted(ExecutionEvent event) {
            if (logger.isInfoEnabled()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java

    // CHECKSTYLE_OFF: RegexpHeader|LineLength
    /**
     * XML reader and writer classes for Maven POM, generated from <code>maven.mdo</code> model.
     * These classes use
     * <a href="https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/package-summary.html">plexus-utils'
     * XML Pull Parser API</a> for their internal XML handling and
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 750 bytes
    - Viewed (0)
  4. src/encoding/gob/debug.go

    	fmt.Fprintf(b, "[%d]{\n", deb.remain)
    	// Blanks until first byte
    	lineLength := 0
    	if n := len(data); n%10 != 0 {
    		lineLength = 10 - n%10
    		fmt.Fprintf(b, "\t%s", blanks[:lineLength*3])
    	}
    	// 10 bytes per line
    	for len(data) > 0 {
    		if lineLength == 0 {
    			fmt.Fprint(b, "\t")
    		}
    		m := 10 - lineLength
    		lineLength = 0
    		if m > len(data) {
    			m = len(data)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 09:34:41 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

        }
    
        @Override
        public int hashCode() {
            return items.hashCode();
        }
    
        // CHECKSTYLE_OFF: LineLength
    
        /**
         * Main to test version parsing and comparison.
         * <p>
         * To check how "1.2.7" compares to "1.2-SNAPSHOT", for example, you can issue
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top