Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HasSuffix (0.15 sec)

  1. src/cmd/cgo/gcc.go

    			n.Kind = "type"
    			needType = append(needType, n)
    			continue
    		}
    
    		if (goos == "darwin" || goos == "ios") && strings.HasSuffix(n.C, "Ref") {
    			// For FooRef, find out if FooGetTypeID exists.
    			s := n.C[:len(n.C)-3] + "GetTypeID"
    			n := &Name{Go: s, C: s}
    			names = append(names, n)
    			optional[n] = true
    		}
    
    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

    			if len(bmbuf) < n {
    				bmbuf = make([]byte, n)
    			}
    			b.SetBytes(int64(n))
    			f(b, n)
    		})
    	}
    }
    
    var indexSizes = []int{10, 32, 4 << 10, 4 << 20, 64 << 20}
    
    var isRaceBuilder = strings.HasSuffix(testenv.Builder(), "-race")
    
    func BenchmarkIndexByte(b *testing.B) {
    	benchBytes(b, indexSizes, bmIndexByte(IndexByte))
    }
    
    func BenchmarkIndexBytePortable(b *testing.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)
Back to top