Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for Hong (0.4 sec)

  1. src/cmd/compile/internal/ssa/likelyadjust.go

    	// in their rank order.  0 is default, more positive
    	// is less likely. It's possible to assign a negative
    	// unlikeliness (though not currently the case).
    	certain := f.Cache.allocInt8Slice(f.NumBlocks()) // In the long run, all outcomes are at least this bad. Mainly for Exit
    	defer f.Cache.freeInt8Slice(certain)
    	local := f.Cache.allocInt8Slice(f.NumBlocks()) // for our immediate predecessors.
    	defer f.Cache.freeInt8Slice(local)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    				return err
    			}
    			tw.curr = &sparseFileWriter{tw.curr, spd, 0}
    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    	// Use long-link files if Name or Linkname exceeds the field size.
    	const longName = "././@LongLink"
    	if len(hdr.Name) > nameSize {
    		data := hdr.Name + "\x00"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    			if !Equal(buf.Bytes()[0:startLen-readBytes], xBytes[readBytes:]) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/bufio/bufio.go

    // [Reader.ReadBytes]('\n') or [Reader.ReadString]('\n') instead or use a [Scanner].
    //
    // ReadLine tries to return a single line, not including the end-of-line bytes.
    // If the line was too long for the buffer then isPrefix is set and the
    // beginning of the line is returned. The rest of the line will be returned
    // from future calls. isPrefix will be false when returning the last fragment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/386Ops.go

    //    filled by sign-extending the used portion.  Users of AuxInt which interpret
    //    AuxInt as unsigned (e.g. shifts) must be careful.
    
    // Suffixes encode the bit width of various instructions.
    // L (long word) = 32 bit
    // W (word)      = 16 bit
    // B (byte)      = 8 bit
    
    // copied from ../../x86/reg.go
    var regNames386 = []string{
    	"AX",
    	"CX",
    	"DX",
    	"BX",
    	"SP",
    	"BP",
    	"SI",
    	"DI",
    	"X0",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    //    AuxInt as unsigned (e.g. shifts) must be careful.
    //  - All SymOff opcodes require their offset to fit in an int32.
    
    // Suffixes encode the bit width of various instructions.
    // Q (quad word) = 64 bit
    // L (long word) = 32 bit
    // W (word)      = 16 bit
    // B (byte)      = 8 bit
    // D (double)    = 64 bit float
    // S (single)    = 32 bit float
    
    // copied from ../../amd64/reg.go
    var regNamesAMD64 = []string{
    	"AX",
    	"CX",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testerrors/testdata/err4.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    /*
    long double x = 0;
    */
    import "C"
    
    func main() {
    	_ = C.x // ERROR HERE
    	_ = C.x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 259 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/testdata/msan8.go

    // Because the registers are msan-undefined, the signal handler will
    // be invoked with all registers msan-undefined.
    __attribute__((noinline))
    void msanGoWait(unsigned long a1, unsigned long a2, unsigned long a3, unsigned long a4, unsigned long a5, unsigned long a6) {
    	sigset_t mask;
    
    	sigemptyset(&mask);
            sigsuspend(&mask);
    }
    
    // msanGoSignalThread is the thread ID of the msanGoLoop thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testgodefs/testdata/issue37621.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    /*
    struct tt {
    	long long a;
    	long long b;
    };
    
    struct s {
    	struct tt ts[3];
    };
    */
    import "C"
    
    type TT C.struct_tt
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 326 bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    		// It was verified to work with GNU tar 1.27.1 and BSD tar 3.1.2.
    		//  dd if=/dev/zero bs=1G count=16 >> writer-big-long.tar
    		//  gnutar -xvf writer-big-long.tar
    		//  bsdtar -xvf writer-big-long.tar
    		//
    		// This file is in PAX format.
    		file: "testdata/writer-big-long.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
Back to top