Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for bidirectional (0.24 sec)

  1. src/internal/types/testdata/fixedbugs/issue62157.go

    	f(B, A /* ERROR "type namedA of A does not match inferred type namedB for T" */)
    
    	// Ensure that all combinations of directional and
    	// bidirectional channels with a named directional
    	// channel lead to the correct (named) directional
    	// channel.
    	B = f(a, b)
    	B = f(a, B)
    	B = f(b, a)
    	B = f(B, a)
    
    	B = f(a, b, B)
    	B = f(a, B, b)
    	B = f(b, B, a)
    	B = f(b, a, B)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 23:22:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    			return nil // channel elements are not identical.
    		}
    		if ch.Dir() == types.SendRecv {
    			// ch is bidirectional. We can safely always use curr's direction.
    			ch = curr
    		} else if curr.Dir() != types.SendRecv && ch.Dir() != curr.Dir() {
    			// ch and curr are not bidirectional and not the same direction.
    			return nil
    		}
    	}
    	return ch
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. test/chan/perm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test various correct and incorrect permutations of send-only,
    // receive-only, and bidirectional channels.
    // Does not compile.
    
    package main
    
    var (
    	cr <-chan int
    	cs chan<- int
    	c  chan int
    )
    
    func main() {
    	cr = c  // ok
    	cs = c  // ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 14 23:33:46 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/Stream.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    import okio.BufferedSink
    import okio.BufferedSource
    
    /**
     * A bidirectional sequence of data frames exchanged between client and server.
     */
    @ExperimentalOkHttpApi
    interface Stream {
      val requestBody: BufferedSource
      val responseBody: BufferedSink
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go

    	Dial(protocols ...string) (Connection, string, error)
    }
    
    // UpgradeRoundTripper is a type of http.RoundTripper that is able to upgrade
    // HTTP requests to support multiplexed bidirectional streams. After RoundTrip()
    // is invoked, if the upgrade is successful, clients may retrieve the upgraded
    // connection by calling UpgradeRoundTripper.Connection().
    type UpgradeRoundTripper interface {
    	http.RoundTripper
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/BiMap.java

    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as
     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/BiMap.java

    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as
     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/bootstraptoken.go

    	nodebootstraptokenphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/bootstraptoken/node"
    )
    
    var (
    	bootstrapTokenLongDesc = cmdutil.LongDesc(`
    		Bootstrap tokens are used for establishing bidirectional trust between a node joining
    		the cluster and a control-plane node.
    
    		This command makes all the configurations required to make bootstrap tokens works
    		and then creates an initial token.
    		`)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/options/token.go

    }
    
    // AddTokenFlag adds the --token flag to the given flagset
    func (bto *BootstrapTokenOptions) AddTokenFlag(fs *pflag.FlagSet) {
    	fs.StringVar(
    		&bto.TokenStr, TokenStr, "",
    		"The token to use for establishing bidirectional trust between nodes and control-plane nodes. The format is [a-z0-9]{6}\\.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef",
    	)
    }
    
    // AddTTLFlag adds the --token-ttl flag to the given flagset
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. pkg/client/tests/portfoward_test.go

    		ports       []string
    		clientSends map[int32]string
    		serverSends map[int32]string
    	}{
    		"forward 1 port with no data either direction": {
    			ports: []string{":5000"},
    		},
    		"forward 2 ports with bidirectional data": {
    			ports: []string{":5001", ":6000"},
    			clientSends: map[int32]string{
    				5001: "abcd",
    				6000: "ghij",
    			},
    			serverSends: map[int32]string{
    				5001: "1234",
    				6000: "5678",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top