Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,285 for offsetY (0.58 sec)

  1. src/runtime/type.go

    // and treat the offset as an identifier. We use negative offsets that
    // do not overlap with any compile-time module offsets.
    //
    // Entries are created by reflect.addReflectOff.
    var reflectOffs struct {
    	lock mutex
    	next int32
    	m    map[int32]unsafe.Pointer
    	minv map[unsafe.Pointer]int32
    }
    
    func reflectOffsLock() {
    	lock(&reflectOffs.lock)
    	if raceenabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/erasure-decode_test.go

    	}
    
    	// To generate random offset/length.
    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for i := 0; i < iterations; i++ {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    		expected := data[offset : offset+readLen]
    
    		// Get the checksums of the current part.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/xcoff.go

    	Lstlen   uint32 // Length of string table
    	Limpoff  uint64 // Offset to start of import file IDs
    	Lstoff   uint64 // Offset to start of string table
    	Lsymoff  uint64 // Offset to start of symbol table
    	Lrldoff  uint64 // Offset to start of relocation entries
    }
    
    // Loader Symbol
    type XcoffLdSym64 struct {
    	Lvalue  uint64 // Address field
    	Loffset uint32 // Byte offset into string table of symbol name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  4. src/log/slog/level.go

    	defer func() {
    		if err != nil {
    			err = fmt.Errorf("slog: level string %q: %w", s, err)
    		}
    	}()
    
    	name := s
    	offset := 0
    	if i := strings.IndexAny(s, "+-"); i >= 0 {
    		name = s[:i]
    		offset, err = strconv.Atoi(s[i:])
    		if err != nil {
    			return err
    		}
    	}
    	switch strings.ToUpper(name) {
    	case "DEBUG":
    		*l = LevelDebug
    	case "INFO":
    		*l = LevelInfo
    	case "WARN":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:34:43 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/string_utils.h

      int WriteToBuffer(char** buffer);
    
     private:
      // Data buffer to store contents of strings, not including headers.
      std::vector<char> data_;
      // Offset of the starting index of each string in data buffer.
      std::vector<size_t> offset_;
      // Max length in number of characters that we permit the total
      // buffer containing the concatenation of all added strings to be.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/internal/zstd/fse_test.go

    	4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1,
    	2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 1, 1, 1, 1, 1,
    	-1, -1, -1, -1,
    }
    
    // offsetPredefinedDistribution is the predefined distribution table
    // for offsets. RFC 3.1.1.3.2.2.3.
    var offsetPredefinedDistribution = []int16{
    	1, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1,
    	1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_ppc64x.s

    	ADD	$-16,R9,R9
    
    	MOVD	$32,R11		// set offsets to load into vector
    	MOVD	$48,R12		// set offsets to load into vector
    
    	PCALIGN	$16
    cmp64_loop:
    	LXVD2X	(R5)(R0),V3	// load bytes of A at offset 0 into vector
    	LXVD2X	(R6)(R0),V4	// load bytes of B at offset 0 into vector
    	VCMPEQUDCC	V3,V4,V1
    	BGE	CR6,different	// jump out if its different
    
    	LXVD2X	(R5)(R10),V3	// load bytes of A at offset 16 into vector
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/size.go

    	}
    	for i, m := range methods {
    		m.Offset = int64(i) * int64(PtrSize)
    	}
    
    	t.SetAllMethods(methods)
    }
    
    // calcStructOffset computes the offsets of a sequence of fields,
    // starting at the given offset. It returns the resulting offset and
    // maximum field alignment.
    func calcStructOffset(t *Type, fields []*Field, offset int64) int64 {
    	for _, f := range fields {
    		CalcSize(f.Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    			vars:        make(map[string]*asmVar),
    			varByOffset: make(map[int]*asmVar),
    		}
    		offset = 0
    		addParams(decl.Type.Params.List, false)
    		if decl.Type.Results != nil && len(decl.Type.Results.List) > 0 {
    			offset += -offset & (arch.maxAlign - 1)
    			addParams(decl.Type.Results.List, true)
    		}
    		fn.size = offset
    		m[arch.name] = fn
    	}
    
    	return m
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. src/internal/zstd/block.go

    			r.repeatedOffset2 = r.repeatedOffset1
    			r.repeatedOffset1 = offset
    		} else {
    			if literal == 0 {
    				offset++
    			}
    			switch offset {
    			case 1:
    				offset = r.repeatedOffset1
    			case 2:
    				offset = r.repeatedOffset2
    				r.repeatedOffset2 = r.repeatedOffset1
    				r.repeatedOffset1 = offset
    			case 3:
    				offset = r.repeatedOffset3
    				r.repeatedOffset3 = r.repeatedOffset2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top