Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for learner (2.27 sec)

  1. src/bytes/bytes_test.go

    		actual := LastIndexByte([]byte(test.a), test.b[0])
    		if actual != test.i {
    			t.Errorf("LastIndexByte(%q,%c) = %v; want %v", test.a, test.b[0], actual, test.i)
    		}
    	}
    }
    
    // test a larger buffer with different sizes and alignments
    func TestIndexByteBig(t *testing.T) {
    	var n = 1024
    	if testing.Short() {
    		n = 128
    	}
    	b := make([]byte, n)
    	for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    		}
    
    		fatalf("unresolved names")
    	}
    
    	return needType
    }
    
    // loadDWARF parses the DWARF debug information generated
    // by gcc to learn the details of the constants, variables, and types
    // being referred to as C.xxx.
    func (p *Package) loadDWARF(f *File, conv *typeConv, names []*Name) {
    	// Extract the types from the DWARF section of an object
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug.go

    )
    
    type SlotID int32
    type VarID int32
    
    // A FuncDebug contains all the debug information for the variables in a
    // function. Variables are identified by their LocalSlot, which may be
    // the result of decomposing a larger variable.
    type FuncDebug struct {
    	// Slots is all the slots used in the debug info, indexed by their SlotID.
    	Slots []LocalSlot
    	// The user variables, indexed by VarID.
    	Vars []*ir.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    // be merged, and returns an encoded rotate+mask value of the combined RLDICL.
    func mergePPC64RLDICLandSRDconst(encoded, s int64) int64 {
    	mb := s
    	r := 64 - s
    	// A larger mb is a smaller mask.
    	if (encoded>>8)&0xFF < mb {
    		encoded = (encoded &^ 0xFF00) | mb<<8
    	}
    	// The rotate is expected to be 0.
    	if (encoded & 0xFF0000) != 0 {
    		panic("non-zero rotate")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/prove.go

    		// When we branched from parent we learned a new set of
    		// restrictions. Update the factsTable accordingly.
    		d := tr.d
    		if d == signed && ft.isNonNegative(c.Args[0]) && ft.isNonNegative(c.Args[1]) {
    			d |= unsigned
    		}
    		switch c.Op {
    		case OpIsInBounds, OpIsSliceInBounds:
    			// 0 <= a0 < a1 (or 0 <= a0 <= a1)
    			//
    			// On the positive branch, we learn:
    			//   signed: 0 <= a0 < a1 (or 0 <= a0 <= a1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    //  - Integer types live in the low portion of registers. Upper portions are junk.
    //  - Boolean types use the low-order byte of a register. 0=false, 1=true.
    //    Upper bytes are junk.
    //  - *const instructions may use a constant larger than the instruction can encode.
    //    In this case the assembler expands to multiple instructions and uses tmp
    //    register (R27).
    //  - All 32-bit Ops will zero the upper 32 bits of the destination register.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
Back to top