Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for utcoff (0.16 sec)

  1. src/time/zoneinfo_read.go

    	if len(rest) > 2 && rest[0] == '\n' && rest[len(rest)-1] == '\n' {
    		extend = string(rest[1 : len(rest)-1])
    	}
    
    	// Now we can build up a useful data structure.
    	// First the zone information.
    	//	utcoff[4] isdst[1] nameindex[1]
    	nzone := n[NZone]
    	if nzone == 0 {
    		// Reject tzdata files with no zones. There's nothing useful in them.
    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/strconv/atoi.go

    		return 0, bitSizeError(fnParseUint, s0, bitSize)
    	}
    
    	// Cutoff is the smallest number such that cutoff*base > maxUint64.
    	// Use compile-time constants for common cases.
    	var cutoff uint64
    	switch base {
    	case 10:
    		cutoff = maxUint64/10 + 1
    	case 16:
    		cutoff = maxUint64/16 + 1
    	default:
    		cutoff = maxUint64/uint64(base) + 1
    	}
    
    	maxVal := uint64(1)<<uint(bitSize) - 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    	//
    	// This must be done as a separate pass because of the
    	// requirement that the comment be followed by a blank line.
    	var cutoff int
    	for i, line := range lines {
    		line = bytes.TrimSpace(line)
    		if !bytes.HasPrefix(line, slashSlash) {
    			if len(line) > 0 {
    				break
    			}
    			cutoff = i
    		}
    	}
    
    	for i, line := range lines {
    		line = bytes.TrimSpace(line)
    		if !bytes.HasPrefix(line, slashSlash) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/runtime/symtab.go

    	idx := ffb.idx + uint32(ffb.subbuckets[i])
    
    	// Find the ftab entry.
    	for datap.ftab[idx+1].entryoff <= pcOff {
    		idx++
    	}
    
    	funcoff := datap.ftab[idx].funcoff
    	return funcInfo{(*_func)(unsafe.Pointer(&datap.pclntable[funcoff])), datap}
    }
    
    // A srcFunc represents a logical function in the source code. This may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  5. src/reflect/abi.go

    	kind abiStepKind
    
    	// offset and size together describe a part of a Go value
    	// in memory.
    	offset uintptr
    	size   uintptr // size in bytes of the part
    
    	// These fields describe the ABI side of the translation.
    	stkOff uintptr // stack offset, used if kind == abiStepStack
    	ireg   int     // integer register index, used if kind == abiStepIntReg or kind == abiStepPointer
    	freg   int     // FP register index, used if kind == abiStepFloatReg
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/runtime/mgc.go

    		setGCPhase(_GCoff)
    		stwSwept = gcSweep(work.mode)
    	})
    
    	mp.traceback = 0
    	casgstatus(curgp, _Gwaiting, _Grunning)
    
    	trace := traceAcquire()
    	if trace.ok() {
    		trace.GCDone()
    		traceRelease(trace)
    	}
    
    	// all done
    	mp.preemptoff = ""
    
    	if gcphase != _GCoff {
    		throw("gc done but gcphase != _GCoff")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    			off, decOff, firstPart, decryptSkip, seqNum = getCompressedOffsets(oi, off, decrypt)
    			decLength = length
    			length = oi.Size - off
    			// For negative length we read everything.
    			if decLength < 0 {
    				decLength = actualSize - decOff
    			}
    
    			// Reply back invalid range if the input offset and length fall out of range.
    			if decOff > actualSize || decOff+decLength > actualSize {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/objfile.go

    	})
    
    	// All filenames are in the postable.
    	for _, f := range w.ctxt.PosTable.FileTable() {
    		w.AddString(filepath.ToSlash(f))
    	}
    }
    
    // cutoff is the maximum data section size permitted by the linker
    // (see issue #9862).
    const cutoff = int64(2e9) // 2 GB (or so; looks better in errors than 2^31)
    
    func (w *writer) Sym(s *LSym) {
    	name := s.Name
    	abi := uint16(s.ABI())
    	if s.Static() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/runtime/stack.go

    		morebuf := thisg.m.morebuf
    		gp.syscallsp = morebuf.sp
    		gp.syscallpc = morebuf.pc
    		pcname, pcoff := "(unknown)", uintptr(0)
    		f := findfunc(gp.sched.pc)
    		if f.valid() {
    			pcname = funcname(f)
    			pcoff = gp.sched.pc - f.entry()
    		}
    		print("runtime: newstack at ", pcname, "+", hex(pcoff),
    			" sp=", hex(gp.sched.sp), " stack=[", hex(gp.stack.lo), ", ", hex(gp.stack.hi), "]\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    	p.w.ZeroUntil(sval / ptrsize)
    	p.w.Append(prog[4:], nptr)
    }
    
    // cutoff is the maximum data section size permitted by the linker
    // (see issue #9862).
    const cutoff = 2e9 // 2 GB (or so; looks better in errors than 2^31)
    
    // check accumulated size of data sections
    func (state *dodataState) checkdatsize(symn sym.SymKind) {
    	if state.datsize > cutoff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top