Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,423 for Trailing (0.15 sec)

  1. internal/hash/checksum.go

    	case c.Is(ChecksumSHA1):
    		return sha1.New()
    	case c.Is(ChecksumSHA256):
    		return sha256.New()
    	}
    	return nil
    }
    
    // Trailing return whether the checksum is trailing.
    func (c ChecksumType) Trailing() bool {
    	return c.Is(ChecksumTrailing)
    }
    
    // NewChecksumFromData returns a new checksum from specified algorithm and base64 encoded value.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/norm/forminfo.go

    // The byte sequence is followed by a trailing and leading CCC if the values
    // for these are not zero.  The value of v determines which ccc are appended
    // to the sequences.  For v < firstCCC, there are none, for v >= firstCCC,
    // the sequence is followed by a trailing ccc, and for v >= firstLeadingCC
    // there is an additional leading ccc. The value of tccc itself is the
    // trailing CCC shifted left 2 bits. The two least-significant bits of tccc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. src/runtime/mpallocbits.go

    				k *= 2
    			}
    
    			// The length of the lowest-order zero run is an increment to our maximum.
    			j := uint(sys.TrailingZeros64(^x)) // count contiguous trailing ones
    			x >>= j & 63                       // remove trailing ones
    			j = uint(sys.TrailingZeros64(x))   // count contiguous trailing zeros
    			x >>= j & 63                       // remove zeros
    			most += j                          // we have a new maximum!
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    // The byte sequence is followed by a trailing and leading CCC if the values
    // for these are not zero.  The value of v determines which ccc are appended
    // to the sequences.  For v < firstCCC, there are none, for v >= firstCCC,
    // the sequence is followed by a trailing ccc, and for v >= firstLeadingCC
    // there is an additional leading ccc. The value of tccc itself is the
    // trailing CCC shifted left 2 bits. The two least-significant bits of tccc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/util/documentation_test.go

    			in:   "Line1\nLine2",
    			out:  "Line1 Line2",
    		},
    		{
    			desc: "Leading and trailing spaces are stripped (single line)",
    			in:   "\t  \nThe text line  \n  \t",
    			out:  "The text line",
    		},
    		{
    			desc: "Leading and trailing spaces are stripped (multi line)",
    			in:   "\t  \nLine1\nLine2  \n  \t",
    			out:  "Line1 Line2",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 24 11:40:55 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/dist/testjson_test.go

    }
    
    func TestJSONFilterMalformed(t *testing.T) {
    	const in = `unexpected text
    {"Package":"abc"}
    more text
    {"Package":"abc"}trailing text
    {not json}
    no newline`
    	const want = `unexpected text
    {"Package":"abc:variant"}
    more text
    {"Package":"abc:variant"}trailing text
    {not json}
    no newline`
    	checkJSONFilter(t, in, want)
    }
    
    func TestJSONFilterBoundaries(t *testing.T) {
    	const in = `{"Package":"abc"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 20:13:24 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

          .isEqualTo(28800000L)
        // Ignore trailing junk
        assertThat("Thursday, 01-Jan-1970 00:00:00 PST JUNK".toHttpDateOrNull()!!.time)
          .isEqualTo(28800000L)
    
        // ANSI C's asctime() format
        // This format ignores the timezone entirely even if it is present and uses GMT.
        assertThat("Fri Jun 6 12:30:30 2014 PST".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
        // Ignore trailing junk.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/go/doc/comment/testdata_test.go

    			return true
    		}
    		return false
    	}
    
    	stripDollars := func(b []byte) []byte {
    		// Remove trailing $ on lines.
    		// They make it easier to see lines with trailing spaces,
    		// as well as turning them into lines without trailing spaces,
    		// in case editors remove trailing spaces.
    		return bytes.ReplaceAll(b, []byte("$\n"), []byte("\n"))
    	}
    	for _, file := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_init_invalid_major.txt

    # module paths with a trailing dot are rejected as invalid import paths
    ! go mod init example.com/user/repo/v2.
    stderr '(?s)^go: malformed module path "example.com/user/repo/v2.": trailing dot in path element$'
    
    ! go mod init example.com/user/repo/v2..
    stderr '(?s)^go: malformed module path "example.com/user/repo/v2..": trailing dot in path element$'
    
    ! go mod init gopkg.in/user/pkg.v.2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 17 21:34:32 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    	} else {
    		p.printf("\n")
    	}
    	for i := 0; i < p.margin; i++ {
    		p.printf("\t")
    	}
    }
    
    // trim removes trailing spaces and tabs from the current line.
    func (p *printer) trim() {
    	// Remove trailing spaces and tabs from line we're about to end.
    	b := p.Bytes()
    	n := len(b)
    	for n > 0 && (b[n-1] == '\t' || b[n-1] == ' ') {
    		n--
    	}
    	p.Truncate(n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top