Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 256 for offset2 (1.3 sec)

  1. src/time/zoneinfo_read.go

    							name:   name,
    							offset: offset,
    							isDST:  isDST,
    						}
    					}
    				}
    			}
    			break
    		}
    	}
    
    	return l, nil
    }
    
    func findZone(zones []zone, name string, offset int, isDST bool) int {
    	for i, z := range zones {
    		if z.name == name && z.offset == offset && z.isDST == isDST {
    			return i
    		}
    	}
    	return -1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    	stack       stack   // offset known to runtime/cgo
    	stackguard0 uintptr // offset known to liblink
    	stackguard1 uintptr // offset known to liblink
    
    	_panic    *_panic // innermost panic - offset known to liblink
    	_defer    *_defer // innermost defer
    	m         *m      // current m; offset known to arm liblink
    	sched     gobuf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java

            }
        }
    
        @Override
        public int read(byte[] dest, int offset, int length) throws IOException {
            synchronized (lock) {
                waitForContent();
                if (readPos != buffer.length) {
                    int count = Math.min(length, buffer.length - readPos);
                    System.arraycopy(buffer, readPos, dest, offset, count);
                    readPos += count;
                    return count;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    		}
    	}
    	return changed
    }
    
    // varOffset returns the offset of slot within the user variable it was
    // decomposed from. This has nothing to do with its stack offset.
    func varOffset(slot LocalSlot) int64 {
    	offset := slot.Off
    	s := &slot
    	for ; s.SplitOf != nil; s = s.SplitOf {
    		offset += s.SplitOffset
    	}
    	return offset
    }
    
    type partsByVarOffset struct {
    	slotIDs []SlotID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    				}
    			}
    
    			o = ldr.SymValue(rs) + r.Add()
    			if rt == objabi.R_PEIMAGEOFF {
    				// The R_PEIMAGEOFF offset is a RVA, so subtract
    				// the base address for the executable.
    				o -= PEBASE
    			}
    
    			// On amd64, 4-byte offsets will be sign-extended, so it is impossible to
    			// access more than 2GB of static data; fail at link time is better than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  6. src/syscall/fs_wasip1.go

    }
    
    func Pread(fd int, b []byte, offset int64) (int, error) {
    	var nread size
    	errno := fd_pread(int32(fd), makeIOVec(b), 1, filesize(offset), unsafe.Pointer(&nread))
    	runtime.KeepAlive(b)
    	return int(nread), errnoErr(errno)
    }
    
    func Pwrite(fd int, b []byte, offset int64) (int, error) {
    	var nwritten size
    	errno := fd_pwrite(int32(fd), makeIOVec(b), 1, filesize(offset), unsafe.Pointer(&nwritten))
    	runtime.KeepAlive(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. src/cmd/pprof/pprof.go

    }
    
    func (*objTool) Open(name string, start, limit, offset uint64, relocationSymbol string) (driver.ObjFile, error) {
    	of, err := objfile.Open(name)
    	if err != nil {
    		return nil, err
    	}
    	f := &file{
    		name: name,
    		file: of,
    	}
    	if start != 0 {
    		if load, err := of.LoadAddress(); err == nil {
    			f.offset = start - load
    		}
    	}
    	return f, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy

            1 * spec.lineInFileLocation("SomeFile.java", 1, 1)
            0 * spec.lineInFileLocation(_, _, _, _)
            0 * spec.offsetInFileLocation(_, _, _, _)
        }
    
        def "when only start defined, no offset or slice location is reported"() {
            given:
            def diagnostic = Mock(Diagnostic)
            diagnostic.kind >> Diagnostic.Kind.ERROR
            diagnostic.source >> Mock(JavaFileObject) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 13:58:13 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/read.go

    }
    
    // intAt returns the int at the given offset in d.data.
    func (d *decoder) intAt(off int) int {
    	if off < 0 || len(d.data)-off < 4 {
    		panic(errCorrupt)
    	}
    	i := binary.LittleEndian.Uint32(d.data[off : off+4])
    	if int32(i)>>31 != 0 {
    		panic(errCorrupt)
    	}
    	return int(i)
    }
    
    // boolAt returns the bool at the given offset in d.data.
    func (d *decoder) boolAt(off int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. src/internal/poll/fd_wasip1.go

    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen))
    }
    
    func direntNext(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Next), unsafe.Sizeof(syscall.Dirent{}.Next))
    }
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top