- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 201 for Ftruncate (0.12 sec)
-
src/syscall/syscall_freebsd.go
//sys Fstat(fd int, stat *Stat_t) (err error) //sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) //sys Fstatfs(fd int, stat *Statfs_t) (err error) //sys Fsync(fd int) (err error) //sys Ftruncate(fd int, length int64) (err error) //sys getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) //sys Getdtablesize() (size int) //sysnb Getegid() (egid int) //sysnb Geteuid() (uid int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go
limitations under the License. */ package truncate import ( "fmt" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" utilerrors "k8s.io/apimachinery/pkg/util/errors" auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/audit" ) const ( // PluginName is the name reported in error metrics. PluginName = "truncate"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 29 00:03:53 UTC 2022 - 4.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/certs/util.go
// the expected NotBefore. Truncate (round) expectedNotBefore to 1 second, since the certificate stores // with seconds as the maximum precision. func AssertCertificateHasNotBefore(t *testing.T, cert *x509.Certificate, expectedNotBefore time.Time) { truncated := expectedNotBefore.Truncate(time.Second) if !cert.NotBefore.Equal(truncated) { t.Errorf("cert has NotBefore %v, expected %v", cert.NotBefore, truncated)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/kubelet/util/boottime_util_freebsd.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.1K bytes - Viewed (0) -
pkg/kubelet/util/boottime_util_darwin.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.3K bytes - Viewed (0) -
pkg/kubelet/util/boottime_util_linux.go
) // GetBootTime returns the time at which the machine was started, truncated to the nearest second func GetBootTime() (time.Time, error) { currentTime := time.Now() var info unix.Sysinfo_t if err := unix.Sysinfo(&info); err != nil { return time.Time{}, fmt.Errorf("error getting system uptime: %s", err) } return currentTime.Add(-time.Duration(info.Uptime) * time.Second).Truncate(time.Second), nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.1K bytes - Viewed (0) -
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) -
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) -
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) -
test/codegen/noextend.go
// which has extended the value correctly. // Note: No tests are done for int8 since // an extra extension is usually needed due to // no signed byte load. func set16(x8 int8, u8 *uint8, y8 int8, z8 uint8) { // Truncate not needed, load does sign/zero extend // ppc64x:-"MOVBZ\tR\\d+,\\sR\\d+" val16[0] = uint16(*u8) // AND not needed due to size // ppc64x:-"ANDCC" sval16[1] = 255 & int16(x8+y8) // ppc64x:-"ANDCC"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 5.4K bytes - Viewed (0)