Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for one (0.12 sec)

  1. src/bufio/bufio_test.go

    				t.Fatalf("n = %d: unexpected error on ReadByte: %v", n, err)
    			}
    			if b != data[i] {
    				t.Fatalf("n = %d: incorrect byte returned from ReadByte: got %q, want %q", n, b, data[i])
    			}
    		}
    		// Unread one byte if there is one.
    		if n > 0 {
    			if err := r.UnreadByte(); err != nil {
    				t.Errorf("n = %d: unexpected error on UnreadByte: %v", n, err)
    			}
    		}
    		// Test that we cannot unread any further.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	// Forced EVEX encoding due to suffixes.
    	VADDPD.BCST 2032(DX), X0, X0 // 62f1fd185882f0070000
    	VADDPD.BCST 2032(DX), Y0, Y0 // 62f1fd385882f0070000
    	// Test new Z-cases one-by-one.
    	//
    	// Zevex_i_r_k_rm.
    	VCVTPS2PH $1, Z2, K5, Y21 // 62b37d4d1dd501
    	VCVTPS2PH $2, Z21, K4, Y2 // 62e37d4c1dea02
    	// Zevex_i_r_rm.
    	VCVTPS2PH $1, Z2, Y21 // 62b37d481dd501
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 11 18:32:50 GMT 2023
    - 57.6K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	}
    	corrupter(data)
    	return bytes.NewReader(data), int64(len(data))
    }
    
    func returnCorruptCRC32Zip() (r io.ReaderAt, size int64) {
    	return messWith("go-with-datadesc-sig.zip", func(b []byte) {
    		// Corrupt one of the CRC32s in the data descriptor:
    		b[0x2d]++
    	})
    }
    
    func returnCorruptNotStreamedZip() (r io.ReaderAt, size int64) {
    	return messWith("crc32-not-streamed.zip", func(b []byte) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    				p.GccOptions = append(p.GccOptions, arg)
    			}
    		}
    	}
    	if flag == "LDFLAGS" {
    		p.LdFlags = append(p.LdFlags, args...)
    	}
    }
    
    // splitQuoted splits the string s around each instance of one or more consecutive
    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    					t.Errorf("Equal(%d, %d, %d) = false", len, x, y)
    				}
    			}
    		}
    	}
    }
    
    // make sure Equal returns false for minimally different strings. The data
    // is all zeros except for a single one in one location.
    func TestNotEqual(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    
    	for len := 0; len <= size; len++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top