Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for It (8.37 sec)

  1. src/bufio/bufio_test.go

    			data, err := r.ReadString(delim)
    			return []byte(data), err
    		},
    		// ReadLine doesn't fit the data/pattern easily
    		// so we leave it out. It should be covered via
    		// the ReadSlice test since ReadLine simply calls
    		// ReadSlice, and it's that function that handles
    		// the last byte.
    	}
    
    	// Try all readers with UnreadByte.
    	for rno, read := range readers {
    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/archive/zip/reader_test.go

    				// We don't do UTF-8 detection for multi-byte runes due to
    				// false-positives with other encodings (e.g., Shift-JIS).
    				// Format says encoding is not UTF-8, so we trust it.
    				NonUTF8:  true,
    				Modified: time.Date(2017, 11, 6, 13, 9, 27, 0, timeZone(-8*time.Hour)),
    			},
    		},
    	},
    	{
    		Name: "utf8-osx.zip",
    		File: []ZipTestFile{
    			{
    				Name:    "世界",
    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)
  3. src/cmd/cgo/gcc.go

    		}
    		// We can't figure out the type. Conservative
    		// approach is to assume it has a pointer.
    		return true
    	default:
    		error_(t.Pos(), "could not understand type %s", gofmt(t))
    		return true
    	}
    }
    
    // mangle replaces references to C names in arg with the mangled names,
    // rewriting calls when it finds them.
    // It removes the corresponding references in f.Ref and f.Calls, so that we
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	{dots + dots + dots, " ", -1},
    	{"012abcba210", "\xffb", 6},
    	{"012\x80bcb\x80210", "\xffb", 7},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    		b := []byte(test.b)
    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)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	// Hex constant 0xFFFFFFFE00010001
    	ADD $-8589869055, R5            // 3fe0fffe63ff00017bff83e463ff00017cbf2a14 or 0602000138a50001
    
    	//TODO: this compiles to add r5,r6,r0. It should be addi r5,r6,0.
    	//      this is OK since r0 == $0, but the latter is preferred.
    	ADD $0, R6, R5             	// 7ca60214
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64.s

    	VREV64	V2.S2, V3.S2                    // 4308a00e
    	VREV64	V2.S4, V3.S4                    // 4308a04e
    
    // logical ops
    //
    // make sure constants get encoded into an instruction when it could
    	AND	R1@>33, R2
    	AND	$(1<<63), R1                        // AND	$-9223372036854775808, R1       // 21004192
    	AND	$(1<<63-1), R1                      // AND	$9223372036854775807, R1        // 21f84092
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
Back to top