- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 346 for fdType (0.11 sec)
-
src/net/tcpconn_keepalive_test.go
t.Cleanup(func() { testPreHookSetKeepAlive = func(*netFD) {} }) var ( errHook error oldCfg KeepAliveConfig ) testPreHookSetKeepAlive = func(nfd *netFD) { oldCfg, errHook = getCurrentKeepAliveSettings(fdType(nfd.pfd.Sysfd)) } handler := func(ls *localServer, ln Listener) { for { c, err := ln.Accept() if err != nil { return } c.Close() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 4.2K bytes - Viewed (0) -
src/net/tcpconn_keepalive_posix_test.go
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || windows package net import ( "syscall" "testing" "time" ) func getCurrentKeepAliveSettings(fd fdType) (cfg KeepAliveConfig, err error) { tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE) if err != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 16:02:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_windows_test.go
"syscall" "testing" ) const ( syscall_TCP_KEEPIDLE = windows.TCP_KEEPIDLE syscall_TCP_KEEPCNT = windows.TCP_KEEPCNT syscall_TCP_KEEPINTVL = windows.TCP_KEEPINTVL ) type fdType = syscall.Handle func maybeSkipKeepAliveTest(t *testing.T) { // TODO(panjf2000): Unlike Unix-like OS's, old Windows (prior to Windows 10, version 1709)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:35 UTC 2024 - 987 bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_darwin_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 16:02:18 UTC 2024 - 430 bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_unix_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 490 bytes - Viewed (0) -
src/net/tcpconn_keepalive_illumos_test.go
// license that can be found in the LICENSE file. //go:build illumos package net import ( "syscall" "testing" "time" ) func getCurrentKeepAliveSettings(fd fdType) (cfg KeepAliveConfig, err error) { tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE) if err != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:21 UTC 2024 - 4K bytes - Viewed (0) -
src/net/tcpconn_keepalive_conf_solaris_test.go
package net import ( "testing" "time" ) const ( syscall_TCP_KEEPIDLE = sysTCP_KEEPIDLE syscall_TCP_KEEPCNT = sysTCP_KEEPCNT syscall_TCP_KEEPINTVL = sysTCP_KEEPINTVL ) type fdType = int func maybeSkipKeepAliveTest(_ *testing.T) {} var testConfigs = []KeepAliveConfig{ { Enable: true, Idle: 20 * time.Second, // the minimum value is ten seconds on Solaris
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 1.8K bytes - Viewed (0) -
src/net/tcpconn_keepalive_solaris_test.go
// license that can be found in the LICENSE file. //go:build solaris && !illumos package net import ( "internal/syscall/unix" "syscall" "testing" "time" ) func getCurrentKeepAliveSettings(fd fdType) (cfg KeepAliveConfig, err error) { tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE) if err != nil { return } var ( tcpKeepAliveIdle int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-while-loop.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/legalized_name.mlir
%0:2 = tf_executor.island wraps "tf.Const"() {dtype = "tfdtype$DT_INT32", value = dense<0> : tensor<i32>} : () -> (tensor<i32>) loc("^foo") // CHECK: name: "fo.o" %1:2 = tf_executor.island wraps "tf.Const"() {dtype = "tfdtype$DT_INT32", value = dense<1> : tensor<i32>} : () -> (tensor<i32>) loc("fo{o") // CHECK: name: "foo"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 1.3K bytes - Viewed (0)