Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cacheStart (0.28 sec)

  1. src/time/zoneinfo_windows.go

    	std := &l.zone[0]
    	std.name = stdname
    	if nzone == 1 {
    		// No daylight savings.
    		std.offset = -int(i.Bias) * 60
    		l.cacheStart = alpha
    		l.cacheEnd = omega
    		l.cacheZone = std
    		l.tx = make([]zoneTrans, 1)
    		l.tx[0].when = l.cacheStart
    		l.tx[0].index = 0
    		return
    	}
    
    	// StandardBias must be ignored if StandardDate is not set,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/time/zoneinfo_plan9.go

    	// Fill in the cache with information about right now,
    	// since that will be the most common lookup.
    	sec, _, _ := now()
    	for i := range tx {
    		if tx[i].when <= sec && (i+1 == len(tx) || sec < tx[i+1].when) {
    			l.cacheStart = tx[i].when
    			l.cacheEnd = omega
    			if i+1 < len(tx) {
    				l.cacheEnd = tx[i+1].when
    			}
    			l.cacheZone = &l.zone[tx[i].index]
    		}
    	}
    
    	return l, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 23:09:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (l <esc:0x22> <type 24 *<type 15>>) String () <type -16>;
     func (l <esc:0x1> <type 24>) .time.lookupFirstZone () <type -11>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/time.gox

     func (l <type 15 *<type 6>>) .time.get () <type 15>;
     func (l <type 15>) String () <type -16>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
Back to top