Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Find (0.28 sec)

  1. src/cmd/cgo/gcc.go

    				continue
    			}
    			error_(f.NamePos[n], "could not determine kind of name for C.%s", fixGo(n.Go))
    		case notStrLiteral | notType:
    			n.Kind = "iconst"
    		case notIntConst | notStrLiteral | notType:
    			n.Kind = "fconst"
    		case notIntConst | notNumConst | notType:
    			n.Kind = "sconst"
    		case notIntConst | notNumConst | notStrLiteral:
    			n.Kind = "type"
    		case notIntConst | notNumConst | notStrLiteral | notType:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    			}
    		}
    	}
    }
    
    // test a small index across all page offsets
    func TestIndexByteSmall(t *testing.T) {
    	b := make([]byte, 5015) // bigger than a page
    	// Make sure we find the correct byte even when straddling a page.
    	for i := 0; i <= len(b)-15; i++ {
    		for j := 0; j < 15; j++ {
    			b[i+j] = byte(100 + j)
    		}
    		for j := 0; j < 15; j++ {
    			p := IndexByte(b[i:i+15], byte(100+j))
    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