Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 401 for offset_ (0.55 sec)

  1. src/syscall/syscall_linux_mipsx.go

    //sys	Pause() (err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)
    //sys	Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) = SYS_SENDFILE64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. test/nilptr_aix.go

    func p7() {
    	// Struct field access with large offset.
    	println(f().i) // should crash
    }
    
    func p8() {
    	// Struct field access with large offset.
    	println((*x).i) // should crash
    }
    
    func p9() {
    	// Struct field access with large offset.
    	var t *T
    	println(&t.i) // should crash
    }
    
    func p10() {
    	// Struct field access with large offset.
    	var t *T
    	println(t.i) // should crash
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

        public InputStreamBackedDecoder(DataInputStream inputStream) {
            this.inputStream = inputStream;
        }
    
        @Override
        protected int maybeReadBytes(byte[] buffer, int offset, int count) throws IOException {
            return inputStream.read(buffer, offset, count);
        }
    
        @Override
        protected long maybeSkip(long count) throws IOException {
            return inputStream.skip(count);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/problems/OffsetInFileLocation.java

     * A basic location pointing to a specific part of a file using a global offset and length for coordinates.
     * <p>
     * The coordinates are expected to be zero indexed.
     *
     * @since 8.6
     */
    @Incubating
    public interface OffsetInFileLocation extends FileLocation {
    
        /**
         * The global offset from the beginning of the file.
         *
         * @return the zero-indexed offset
         * @since 8.6
         */
        int getOffset();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/offset_buffer.h

    // will omit the field and interpret this as 0, to ensure this field is
    // populated. The flatbuffer exporter will always set it to 1, and it's also not
    // a valid buffer offset value. So it's only valid when it's > 1.
    inline bool IsValidBufferOffset(const int64_t offset) { return offset > 1; }
    
    }  // namespace tflite
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 04 01:07:10 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go

    //sysnb	Getuid() (uid int)
    //sys	Listen(s int, n int) (err error)
    //sys	MemfdSecret(flags int) (fd int, err error)
    //sys	pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64
    //sys	pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64
    //sys	Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
    
    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/runtime/unsafepoint_test.go

    			t.Fatalf("can't parse pc %s: %v", parts[1], err)
    		}
    		if entry == 0 {
    			entry = pc
    		}
    		// Note that some platforms do ASLR, so the PCs in the disassembly
    		// don't match PCs in the address space. Only offsets from function
    		// entry make sense.
    		unsafe := runtime.UnsafePoint(f.Entry() + uintptr(pc-entry))
    		t.Logf("unsafe: %v\n", unsafe)
    		instructionCount++
    		if unsafe {
    			unsafeCount++
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 20:24:56 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. pkg/registry/core/service/allocator/storage/storage.go

    }
    
    // AllocateNext attempts to allocate the next item.
    func (e *Etcd) AllocateNext() (int, bool, error) {
    	e.lock.Lock()
    	defer e.lock.Unlock()
    	var offset int
    	var ok bool
    	var err error
    
    	err = e.tryUpdate(func() error {
    		// update the offset here
    		offset, ok, err = e.alloc.AllocateNext()
    		if err != nil {
    			return err
    		}
    		if !ok {
    			return errorUnableToAllocate
    		}
    		return nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/pass.go

    			continue
    		}
    		q := sym.Func().Text
    		for q != nil && p.To.Offset != q.Pc {
    			if q.Forwd != nil && p.To.Offset >= q.Forwd.Pc {
    				q = q.Forwd
    			} else {
    				q = q.Link
    			}
    		}
    
    		if q == nil {
    			name := "<nil>"
    			if p.To.Sym != nil {
    				name = p.To.Sym.Name
    			}
    			ctxt.Diag("branch out of range (%#x)\n%v [%s]", uint32(p.To.Offset), p, name)
    			p.To.Type = TYPE_NONE
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. cmd/bitrot-streaming.go

    func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
    	var err error
    	if offset%b.shardSize != 0 {
    		// Offset should always be aligned to b.shardSize
    		// Can never happen unless there are programmer bugs
    		return 0, errUnexpected
    	}
    	if b.rc == nil {
    		// For the first ReadAt() call we need to open the stream for reading.
    		b.currOffset = offset
    		streamOffset := (offset/b.shardSize)*int64(b.h.Size()) + offset
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top