Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 204 for coffsets (0.12 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    		return len(x.Args) == 1 &&
    			hasBasicType(info, x.Fun, types.Uintptr) &&
    			hasBasicType(info, x.Args[0], types.UnsafePointer)
    
    	case *ast.BinaryExpr:
    		// "It is valid both to add and to subtract offsets from a
    		// pointer in this way. It is also valid to use &^ to round
    		// pointers, usually for alignment."
    		switch x.Op {
    		case token.ADD, token.SUB, token.AND_NOT:
    			// TODO(mdempsky): Match compiler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/internal/zstd/fse.go

    		//     be.baseline = 1 << e.sym
    		//     be.basebits = e.sym
    		// That would give us an offset value that corresponds to
    		// the one described in the RFC. However, for offsets > 3
    		// we have to subtract 3. And for offset values 1, 2, 3
    		// we use a repeated offset.
    		//
    		// The baseline is always a power of 2, and is never 0,
    		// so for those low values we will see one entry that is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

          assert(index[i] < shape[i]);
          assert(index[i] >= 0);
        }
    #endif  // NDEBUG
        int64_t offset = 0;
        int64_t stride = 1;
        for (int64_t dim = shape.size() - 1; dim >= 0; --dim) {
          offset += index[dim] * stride;
          stride *= shape[dim];
        }
        return offset;
      }
    
      int64_t offset_;
      int64_t stride_;
      int64_t size_;
    };
    
    template <typename T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/deadstore.go

    			continue
    		}
    		for _, a := range v.Args {
    			if a.Block == b && a.Type.IsMemory() {
    				v = a
    				goto walkloop
    			}
    		}
    	}
    }
    
    // A shadowRange encodes a set of byte offsets [lo():hi()] from
    // a given pointer that will be written to later in the block.
    // A zero shadowRange encodes an empty shadowed range (and so
    // does a -1 shadowRange, which is what sparsemap.get returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/ar.go

    	"fmt"
    	"internal/xcoff"
    	"io"
    	"strconv"
    	"strings"
    )
    
    // Magic strings for different archive file formats.
    const (
    	armag  = "!<arch>\n"
    	armagt = "!<thin>\n"
    	armagb = "<bigaf>\n"
    )
    
    // Offsets and sizes for fields in a standard archive header.
    const (
    	arNameOff  = 0
    	arNameSize = 16
    	arDateOff  = arNameOff + arNameSize
    	arDateSize = 12
    	arUIDOff   = arDateOff + arDateSize
    	arUIDSize  = 6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 14:14:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. src/os/readfrom_linux_test.go

    			t.Fatalf("wrong source file descriptor: got %d, want %d", hook.srcfd, int(fd))
    		}
    	}); err != nil {
    		t.Fatalf("server Conn Control error: %v", err)
    	}
    
    	// Check that the offsets after the transfer make sense, that the size
    	// of the transfer was reported correctly, and that the destination
    	// file contains exactly the bytes we expect it to contain.
    	dstoff, err := dst.Seek(0, io.SeekCurrent)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. src/compress/flate/huffman_bit_writer.go

    		}
    		// Write the offset
    		offset := t.offset()
    		offsetCode := offsetCode(offset)
    		w.writeCode(oeCodes[offsetCode])
    		extraOffsetBits := uint(offsetExtraBits[offsetCode])
    		if extraOffsetBits > 0 {
    			extraOffset := int32(offset - offsetBase[offsetCode])
    			w.writeBits(extraOffset, extraOffsetBits)
    		}
    	}
    }
    
    // huffOffset is a static offset encoder used for huffman only encoding.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  8. src/runtime/sys_openbsd_386.s

    	MOVL	12(DX), AX
    	MOVL	16(DX), BX
    	MOVL	20(DX), CX
    	MOVL	AX, 12(SP)		// arg 4 - flags
    	MOVL	BX, 16(SP)		// arg 5 - fid
    	MOVL	$0, 20(SP)		// pad
    	MOVL	CX, 24(SP)		// arg 6 - offset (low 32 bits)
    	MOVL	$0, 28(SP)		// offset (high 32 bits)
    	CALL	libc_mmap(SB)
    	MOVL	$0, BX
    	CMPL	AX, $-1
    	JNE	ok
    	CALL	libc_errno(SB)
    	MOVL	(AX), BX
    	MOVL	$0, AX
    ok:
    	MOVL	40(SP), DX
    	MOVL	AX, 24(DX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. src/internal/zstd/zstd.go

    	// The number of bytes read from r up to the start of the current
    	// block, for error reporting.
    	blockOffset int64
    
    	// Buffered decompressed data.
    	buffer []byte
    	// Current read offset in buffer.
    	off int
    
    	// The current repeated offsets.
    	repeatedOffset1 uint32
    	repeatedOffset2 uint32
    	repeatedOffset3 uint32
    
    	// The current Huffman tree used for compressing literals.
    	huffmanTable     []uint16
    	huffmanTableBits int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/debug/gosym/pclntab.go

    	t.quantum = uint32(t.Data[6])
    	t.ptrsize = uint32(t.Data[7])
    
    	offset := func(word uint32) uint64 {
    		return t.uintptr(t.Data[8+word*t.ptrsize:])
    	}
    	data := func(word uint32) []byte {
    		return t.Data[offset(word):]
    	}
    
    	switch possibleVersion {
    	case ver118, ver120:
    		t.nfunctab = uint32(offset(0))
    		t.nfiletab = uint32(offset(1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top