Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for GetSink (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

      // pair has matching devices or no devices.
      if (auto source = llvm::dyn_cast<tf_executor::NextIterationSourceOp>(op)) {
        return ops_have_same_device(source, source.GetSink());
      } else if (auto sink = llvm::dyn_cast<tf_executor::NextIterationSinkOp>(op)) {
        return ops_have_same_device(sink.GetSource(), sink);
      }
    
      return llvm::isa<tf_executor::EnterOp, tf_executor::ExitOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    				t.Errorf("managerImpl.processShutdownEvent() error = %v, wantErr %v", err, tt.wantErr)
    			}
    
    			underlier, ok := logger.GetSink().(ktesting.Underlier)
    			if !ok {
    				t.Fatalf("Should have had a ktesting LogSink, got %T", logger.GetSink())
    			}
    
    			log := underlier.GetBuffer().String()
    			if !strings.Contains(log, tt.expectedOutputContains) {
    				// Log will be shown on failure. To see it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /**
       * Returns a sink that can be used to write data to the peer.
       *
       * @throws IllegalStateException if this stream was initiated by the peer and a [writeHeaders] has
       *     not yet been sent.
       */
      fun getSink(): Sink {
        this.withLock {
          check(hasResponseHeaders || isLocallyInitiated) {
            "reply before requesting the sink"
          }
        }
        return sink
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        // source.
        if (auto next_iter_source =
                llvm::dyn_cast<mlir::tf_executor::NextIterationSourceOp>(
                    input_inst))
          input_inst = next_iter_source.GetSink();
    
        auto node_it = nodes_.find(input_inst);
        TF_RET_CHECK(node_it != nodes_.end())
            << "Use of OpResult encountered before def!";
        if (mlir::isa<mlir::tf_executor::ControlType>(input_result.getType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        // source.
        if (auto next_iter_source =
                llvm::dyn_cast<mlir::tf_executor::NextIterationSourceOp>(
                    input_inst))
          input_inst = next_iter_source.GetSink();
    
        auto node_it = nodes_.find(input_inst);
        TF_RET_CHECK(node_it != nodes_.end())
            << "Use of OpResult encountered before def!";
        if (mlir::isa<mlir::tf_executor::ControlType>(input_result.getType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. pkg/proxy/util/nfacct/nfacct_linux_test.go

    // maintains a list for netlink attributes, and stores a predefined response and an optional
    // error for subsequent execution.
    type fakeRequest struct {
    	// cmd and flags which were used to create the request.
    	cmd   int
    	flags uint16
    
    	// data holds netlink attributes.
    	data []nl.NetlinkRequestData
    
    	// response and err are the predefined output of execution.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

        }
    
        @Override
        public boolean hasLink(String name) {
            return links != null && links.containsKey(name);
        }
    
        @Override
        @Nullable
        public ModelNodeInternal getLink(String name) {
            return links == null ? null : links.get(name);
        }
    
        @Override
        public Iterable<? extends ModelNodeInternal> getLinks() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. go.mod

    	github.com/spf13/cobra v1.8.0
    	github.com/spf13/pflag v1.0.5
    	github.com/spf13/viper v1.19.0
    	github.com/stoewer/go-strcase v1.3.0
    	github.com/stretchr/testify v1.9.0
    	github.com/vishvananda/netlink v1.2.1-beta.2.0.20240411215012-578e95cc3190
    	github.com/vishvananda/netns v0.0.4
    	github.com/yl2chen/cidranger v1.0.2
    	go.opentelemetry.io/otel v1.27.0
    	go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    #include <sys/timerfd.h>
    #include <sys/uio.h>
    #include <sys/xattr.h>
    #include <netinet/udp.h>
    #include <linux/audit.h>
    #include <linux/bpf.h>
    #include <linux/can.h>
    #include <linux/can/error.h>
    #include <linux/can/netlink.h>
    #include <linux/can/raw.h>
    #include <linux/capability.h>
    #include <linux/cryptouser.h>
    #include <linux/devlink.h>
    #include <linux/dm-ioctl.h>
    #include <linux/errqueue.h>
    #include <linux/ethtool_netlink.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/capture/run.go

    	// Equivalent to `ip -6 addr add "::6/128" dev lo`
    	address := &net.IPNet{IP: net.ParseIP("::6"), Mask: net.CIDRMask(128, 128)}
    	addr := &netlink.Addr{IPNet: address}
    
    	err = netlink.AddrAdd(link, addr)
    	if ignoreExists(err) != nil {
    		return fmt.Errorf("failed to add IPv6 inbound address: %v", err)
    	}
    	log.Infof("Added ::6 address")
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top