Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 855 for Ftruncate (0.16 sec)

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

    }
    
    func error_Futimesat(dirfd int, path string, tv []Timeval) (err error) {
    	err = ENOSYS
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Ftruncate(fd int, length int64) (err error) {
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FTRUNCATE<<4, uintptr(fd), uintptr(length))
    	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)
  2. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate_test.go

    		desc          string
    		event         *auditinternal.Event
    		wantDropped   bool
    		wantTruncated bool
    	}{
    		{
    			desc:  "Empty event should not be truncated",
    			event: &auditinternal.Event{},
    		},
    		{
    			desc: "Event with too large body should be truncated",
    			event: &auditinternal.Event{
    				Level: auditinternal.LevelRequest,
    				RequestObject: &runtime.Unknown{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 30 07:56:39 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/const.go

    	panic("unreachable")
    }
    
    // truncate float literal fv to 32-bit or 64-bit precision
    // according to type; return truncated value.
    func truncfltlit(v constant.Value, t *types.Type) constant.Value {
    	if t.IsUntyped() {
    		return v
    	}
    
    	return roundFloat(v, t.Size())
    }
    
    // truncate Real and Imag parts of Mpcplx to 32-bit or 64-bit
    // precision, according to type; return truncated value. In case of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning.go

    		r.recorded = map[string]bool{}
    	}
    
    	// dedupe if already warned
    	if r.recorded[text] {
    		return
    	}
    	r.recorded[text] = true
    	r.ordered = append(r.ordered, recordedWarning{agent: agent, text: text})
    
    	// truncate on a rune boundary, if needed
    	textRuneLength := utf8.RuneCountInString(text)
    	if r.truncating && textRuneLength > truncateItemRunes {
    		text = string([]rune(text)[:truncateItemRunes])
    		textRuneLength = truncateItemRunes
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    //sys	Fsync(fd int) (err error)
    //sys	Futimes(fd int, tv []Timeval) (err error) = SYS_FUTIMES
    //sys	Futimesat(dirfd int, path string, tv []Timeval) (err error) = SYS___FUTIMESAT_A
    //sys	Ftruncate(fd int, length int64) (err error)
    //sys	Getrandom(buf []byte, flags int) (n int, err error) = SYS_GETRANDOM
    //sys	InotifyInit() (fd int, err error) = SYS_INOTIFY_INIT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    		return entries, listErr
    	}
    	entries.reuse = true
    	truncated := entries.len() > o.Limit || err == nil
    	entries.truncate(o.Limit)
    	if !o.Transient && truncated {
    		if o.ID == "" {
    			entries.listID = mustGetUUID()
    		} else {
    			entries.listID = o.ID
    		}
    	}
    	if !truncated {
    		return entries, io.EOF
    	}
    	return entries, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:23 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.td

    def RemoveRedundantCastOps : Pat<
      (TF_CastOp:$root_cast
        (TF_CastOp:$i8_cast
          (TF_ClipByValueOp:$clip $input, $min_value, $max_value),
          ConstBoolAttrFalse:$truncate2),
        ConstBoolAttrFalse:$truncate1),
      (TF_CastOp $clip, ConstBoolAttrFalse),
      [(TensorOf<[I8]> $i8_cast),
       (TensorOf<[I32]> $clip),
       (IsIntSplatValueEqual<"int32_t", "-128"> $min_value),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. pkg/kubelet/util/util_windows.go

    // GetBootTime returns the time at which the machine was started, truncated to the nearest second
    func GetBootTime() (time.Time, error) {
    	currentTime := time.Now()
    	output, _, err := tickCount.Call()
    	if errno, ok := err.(syscall.Errno); !ok || errno != 0 {
    		return time.Time{}, err
    	}
    	return currentTime.Add(-time.Duration(output) * time.Millisecond).Truncate(time.Second), nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/truncate-canonical-name-pod.yaml

    believening <******@****.***> 1704184774 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 02 08:39:34 UTC 2024
    - 299 bytes
    - Viewed (0)
  10. cmd/object-api-datatypes.go

    type ListObjectVersionsInfo struct {
    	// Indicates whether the returned list objects response is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of objects exceeds the limit allowed or specified
    	// by max keys.
    	IsTruncated bool
    
    	// When response is truncated (the IsTruncated element value in the response is true),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top