Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 295 for _kernel (0.14 sec)

  1. src/net/tcpsockopt_windows.go

    	if !windows.SupportTCPKeepAliveIdle() {
    		return setKeepAliveIdleAndInterval(fd, d, -1)
    	}
    
    	if d == 0 {
    		d = defaultTCPKeepAliveIdle
    	} else if d < 0 {
    		return nil
    	}
    	// The kernel expects seconds so round to next highest second.
    	secs := int(roundDurationUp(d, time.Second))
    	err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, windows.TCP_KEEPIDLE, secs)
    	runtime.KeepAlive(fd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux_accept.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // We require Linux kernel version 2.6.32. The accept4 system call was
    // added in version 2.6.28, so in general we can use accept4.
    // Unfortunately, for ARM only, accept4 was added in version 2.6.36.
    // Handle that case here, by using a copy of the Accept function that
    // we used in Go 1.17.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 16 03:40:42 UTC 2022
    - 961 bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_kernel_creator_test.cc

      Status status = xla_kernel_creator.CreateKernel(flr_, callsite, &kernel_);
      ASSERT_TRUE(status.ok()) << status.ToString();
    
      EXPECT_EQ("XTimesY", kernel_->name());
      EXPECT_EQ("XTimesY", kernel_->type_string());
    
      EXPECT_EQ(2, kernel_->num_inputs());
      EXPECT_EQ(DT_FLOAT, kernel_->input_type(0));
      EXPECT_EQ(DT_RESOURCE, kernel_->input_type(1));
      EXPECT_EQ(DEVICE_MEMORY, kernel_->input_memory_types()[0]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. src/net/mptcpsock_linux.go

    //
    // If the MPTCP protocol has not been requested when creating the socket, this
    // method will return true: MPTCP is not being used.
    //
    // Kernel >= 5.16 returns EOPNOTSUPP/ENOPROTOOPT in case of fallback.
    // Older kernels will always return them even if MPTCP is used: not usable.
    func hasFallenBack(fd *netFD) bool {
    	_, err := fd.pfd.GetsockoptInt(_SOL_MPTCP, _MPTCP_INFO)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 18:48:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. cni/pkg/ipset/nldeps_linux.go

    // the kernel can be out of sync with the CLI utility, leading to errors like:
    //
    // ipset v7.10: Argument `comment' is supported in the kernel module of the set type hash:ip
    // starting from the revision 3 and you have installed revision 1 only.
    // Your kernel is behind your ipset utility.
    //
    // This happens with kernels as recent as Fedora38, e.g: 6.4.11-200.fc38.aarch64
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 18:07:05 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/net/tcpsock_posix.go

    	// at addr2, without either machine executing Listen. If laddr == nil,
    	// it means we want the kernel to pick an appropriate originating local
    	// address. Some Linux kernels cycle blindly through a fixed range of
    	// local ports, regardless of destination port. If a kernel happens to
    	// pick local port 50001 as the source for a Dial("tcp", "", "localhost:50001"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/net/ipsock_posix.go

    // and kernel configuration.
    //
    // Should we try to use the IPv4 socket interface if we're only
    // dealing with IPv4 sockets? As long as the host system understands
    // IPv4-mapped IPv6, it's okay to pass IPv4-mapped IPv6 addresses to
    // the IPv6 interface. That simplifies our code and is most
    // general. Unfortunately, we need to run on kernels built without
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. tensorflow/c/c_test.c

      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void compute(void* kernel, TF_OpKernelContext* ctx) {
      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc

        .Attr("T: type")
        .Attr("enabled: bool")
        .Attr("func_name: string")
        .Attr("node_name: string")
        .SetIsStateful();
    
    class DumpTensorOp : public OpKernel {
     public:
      explicit DumpTensorOp(OpKernelConstruction* ctx) : OpKernel(ctx) {
        string log_dir_path;
        string file_name;
        string func_name;
        string node_name;
        OP_REQUIRES_OK(ctx, ctx->GetAttr("log_dir_path", &log_dir_path));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 03:12:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/integration/node_expansion_test.py

      def testWithKnownKernel(self):
    
        def biasd_dense_elu(x, y, z):
          dot = gen_composite_ops.my_biased_dense(x, y, z)
          return nn_ops.elu(dot)  # with known kernel, should not expand.
    
        t1 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
        t2 = constant_op.constant([[1.0, 2.0], [3.0, 4.0]])
        t3 = constant_op.constant([[-10.0, -10.0], [-10.0, -10.0]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top