Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for notdigits (0.11 sec)

  1. src/net/http/readrequest_test.go

    	{
    		"POST / HTTP/1.1\r\n" +
    			"Host: foo.com\r\n" +
    			"Transfer-Encoding: chunked\r\n" +
    			"Content-Length: notdigits\r\n\r\n" + // raise an error
    			"3\r\nfoo\r\n" +
    			"3\r\nbar\r\n" +
    			"0\r\n" +
    			"\r\n",
    		nil,
    		noBodyStr,
    		noTrailer,
    		`bad Content-Length "notdigits"`,
    	},
    
    	// CONNECT request with domain name:
    	{
    		"CONNECT www.google.com:443 HTTP/1.1\r\n\r\n",
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 22:23:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		// regardless of the presence of a Transfer-Encoding header.
    		// Check out RFC 9110, Section 8.6 and RFC 9112, Section 6.3.3.
    		{"Content-Length: notdigits\r\n", 400},
    		{"Content-Length: notdigits\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\n", 400},
    
    		{"foo: foo foo\r\n", 200},    // LWS space is okay
    		{"foo: foo\tfoo\r\n", 200},   // LWS tab is okay
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/math/big/natconv.go

    	}
    
    	// extend table
    	if table[k-1].ndigits == 0 {
    		// add new entries as needed
    		var larger nat
    		for i := 0; i < k; i++ {
    			if table[i].ndigits == 0 {
    				if i == 0 {
    					table[0].bbb = nat(nil).expWW(bb, Word(leafSize))
    					table[0].ndigits = ndigits * leafSize
    				} else {
    					table[i].bbb = nat(nil).sqr(table[i-1].bbb)
    					table[i].ndigits = 2 * table[i-1].ndigits
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/codegen.cc

      if (ident.empty()) {
        return errors::InvalidArgument("empty identifier: ", msg);
      }
      // Require that the identifier starts with a nondigit, and is composed of
      // nondigits and digits, as specified in section [2.11 Identifiers] of the
      // C++11 Standard.  Note that nondigit is defined as [_a-zA-Z] and digit is
      // defined as [0-9].
      //
      // Technically the standard also allows for `universal-character-name`, with a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. src/math/big/natconv_test.go

    	b.StartTimer()
    }
    
    func resetTable(table []divisor) {
    	if table != nil && table[0].bbb != nil {
    		for i := 0; i < len(table); i++ {
    			table[i].bbb = nil
    			table[i].nbits = 0
    			table[i].ndigits = 0
    		}
    	}
    }
    
    func TestStringPowers(t *testing.T) {
    	var p Word
    	for b := 2; b <= 16; b++ {
    		for p = 0; p <= 512; p++ {
    			if testing.Short() && p > 10 {
    				break
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 16.8K bytes
    - Viewed (0)
Back to top