Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,190 for utimes (0.11 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go

    func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	_, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 43.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go

    func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	_, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  3. src/syscall/syscall_windows.go

    //sys	SetEnvironmentVariable(name *uint16, value *uint16) (err error) = kernel32.SetEnvironmentVariableW
    //sys	SetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetime) (err error)
    //sys	GetFileAttributes(name *uint16) (attrs uint32, err error) [failretval==INVALID_FILE_ATTRIBUTES] = kernel32.GetFileAttributesW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  4. pkg/controller/cronjob/utils.go

    	return &t
    }
    
    // nextScheduleTime returns the time.Time of the next schedule after the last scheduled
    // and before now, or nil if no unmet schedule times, and an error.
    // If there are too many (>100) unstarted times, it will also record a warning.
    func nextScheduleTime(logger klog.Logger, cj *batchv1.CronJob, now time.Time, schedule cron.Schedule, recorder record.EventRecorder) (*time.Time, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Utime(path string, utim *Utimbuf) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS___UTIME_A<<4, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(utim)))
    	runtime.ExitSyscall()
    	if int64(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	getTickCount64() (ms uint64) = kernel32.GetTickCount64
    //sys   GetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetime) (err error)
    //sys	SetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetime) (err error)
    //sys	GetFileAttributes(name *uint16) (attrs uint32, err error) [failretval==INVALID_FILE_ATTRIBUTES] = kernel32.GetFileAttributesW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. src/time/time.go

    //
    // Programs using times should typically store and pass them as values,
    // not pointers. That is, time variables and struct fields should be of
    // type [time.Time], not *time.Time.
    //
    // A Time value can be used by multiple goroutines simultaneously except
    // that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and
    // [Time.UnmarshalText] are not concurrency-safe.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  8. pkg/test/loadbalancersim/timeseries/instance.go

    	ts.mutex.Lock()
    	defer ts.mutex.Unlock()
    	return ts.data.Copy(), ts.times.asDurationSinceEpoch(epoch)
    }
    
    type times []time.Time
    
    func (t times) copy() times {
    	out := make(times, 0, len(t))
    	out = append(out, t...)
    	return out
    }
    
    func (t times) asDurationSinceEpoch(epoch time.Time) []time.Duration {
    	out := make([]time.Duration, 0, len(t))
    	for _, tm := range t {
    		out = append(out, tm.Sub(epoch))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/testing/utils.go

    // resourceVersionNotOlderThan returns a function to validate resource versions. Resource versions
    // referring to points in logical time before the sentinel generate an error. All logical times as
    // new as the sentinel or newer generate no error.
    func resourceVersionNotOlderThan(sentinel string) func(string) error {
    	return func(resourceVersion string) error {
    		objectVersioner := storage.APIObjectVersioner{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 22 07:26:55 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  10. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    func reduceErrs(errs []error, ignoredErrs []error) (maxCount int, maxErr error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top