Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for absClock (0.12 sec)

  1. src/time/format_rfc3339.go

    	b = appendInt(b, year, 4)
    	b = append(b, '-')
    	b = appendInt(b, int(month), 2)
    	b = append(b, '-')
    	b = appendInt(b, day, 2)
    
    	b = append(b, 'T')
    
    	// Format time.
    	hour, min, sec := absClock(abs)
    	b = appendInt(b, hour, 2)
    	b = append(b, ':')
    	b = appendInt(b, min, 2)
    	b = append(b, ':')
    	b = appendInt(b, sec, 2)
    
    	if nanos {
    		std := stdFracSecond(stdFracSecond9, 9, '.')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 19:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/time/time.go

    	return year, yday/7 + 1
    }
    
    // Clock returns the hour, minute, and second within the day specified by t.
    func (t Time) Clock() (hour, min, sec int) {
    	return absClock(t.abs())
    }
    
    // absClock is like clock but operates on an absolute time.
    //
    // absClock should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/phuslu/log
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  3. src/time/format.go

    }
    
    // GoString implements [fmt.GoStringer] and formats t to be printed in Go source
    // code.
    func (t Time) GoString() string {
    	abs := t.abs()
    	year, month, day, _ := absDate(abs, true)
    	hour, minute, second := absClock(abs)
    
    	buf := make([]byte, 0, len("time.Date(9999, time.September, 31, 23, 59, 59, 999999999, time.Local)"))
    	buf = append(buf, "time.Date("...)
    	buf = appendInt(buf, year, 0)
    	if January <= month && month <= December {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

            }
        }
        dependencyLocking {
            lockFile = file("\$projectDir/gradle/bslock.file")
        }
        configurations.classpath {
            resolutionStrategy.activateDependencyLocking()
        }
        dependencies {
            classpath 'org.foo:foo-plugin:[1.0,2.0)'
        }
    }
    """
            def lockFile = testDirectory.file('gradle', 'bslock.file')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/wasm/a.out.go

    	// The following are low-level WebAssembly instructions.
    	// Their order matters, since it matches the opcode encoding.
    	// Gaps in the encoding are indicated by comments.
    
    	AUnreachable // opcode 0x00
    	ANop
    	ABlock
    	ALoop
    	AIf
    	AElse
    
    	AEnd // opcode 0x0B
    	ABr
    	ABrIf
    	ABrTable
    	// ACall and AReturn are WebAssembly instructions. obj.ACALL and obj.ARET are higher level instructions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/syscall_windows.go

    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    // cbs stores all registered Go callbacks.
    var cbs struct {
    	lock  mutex // use cbsLock / cbsUnlock for race instrumentation.
    	ctxt  [cb_max]winCallback
    	index map[winCallbackKey]int
    	n     int
    }
    
    func cbsLock() {
    	lock(&cbs.lock)
    	// compileCallback is used by goenvs prior to completion of schedinit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/wasm/wasmobj.go

    	tablePC := int64(0)
    	base := ctxt.PosTable.Pos(s.Func().Text.Pos).Base()
    	for p := s.Func().Text; p != nil; p = p.Link {
    		prevBase := base
    		base = ctxt.PosTable.Pos(p.Pos).Base()
    		switch p.As {
    		case ABlock, ALoop, AIf:
    			explicitBlockDepth++
    
    		case AEnd:
    			if explicitBlockDepth == 0 {
    				panic("End without block")
    			}
    			explicitBlockDepth--
    
    		case ARESUMEPOINT:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top