Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for bidirectional (0.23 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. 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)
  4. 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)
  5. src/internal/types/testdata/spec/assignability.go

    func _[TP Interface](X TP) {
    	i = d // ERROR "missing method m"
    	i = D
    	i = X
    	X = i // ERRORx `cannot use i .* as TP value`
    }
    
    // "x is a bidirectional channel value, T is a channel type, x's type V and T have identical element types, and at least one of V or T is not a named type"
    // (here a named type is a type with a name)
    type (
    	_SendChan = chan<- int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/controller/repairip.go

    //
    // There is a one-to-one relation between Service ClusterIPs and IPAddresses.
    // The bidirectional relation is achieved using the following fields:
    // Service.Spec.Cluster == IPAddress.Name AND IPAddress.ParentRef == Service
    //
    // The controller use two reconcile loops, one for Services and other for IPAddress.
    // The Service reconcile loop verifies the bidirectional relation exists and is correct.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. src/go/types/operand.go

    			// T implements V, so give hint about type assertion.
    			if cause != nil {
    				*cause = "need type assertion"
    			}
    			return false, IncompatibleAssign
    		}
    	}
    
    	// x is a bidirectional channel value, T is a channel
    	// type, x's type V and T have identical element types,
    	// and at least one of V or T is not a named type.
    	if Vc, ok := Vu.(*Chan); ok && Vc.dir == SendRecv {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/operand.go

    			// T implements V, so give hint about type assertion.
    			if cause != nil {
    				*cause = "need type assertion"
    			}
    			return false, IncompatibleAssign
    		}
    	}
    
    	// x is a bidirectional channel value, T is a channel
    	// type, x's type V and T have identical element types,
    	// and at least one of V or T is not a named type.
    	if Vc, ok := Vu.(*Chan); ok && Vc.dir == SendRecv {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. pilot/pkg/model/config.go

    // treated as read-only. Modifying them violates thread-safety.
    type ConfigStore interface {
    	// Schemas exposes the configuration type schema known by the config store.
    	// The type schema defines the bidirectional mapping between configuration
    	// types and the protobuf encoding schema.
    	Schemas() collection.Schemas
    
    	// Get retrieves a configuration element by a type and a key
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/token.go

    		Short: "Manage bootstrap tokens",
    		Long: dedent.Dedent(`
    			This command manages bootstrap tokens. It is optional and needed only for advanced use cases.
    
    			In short, bootstrap tokens are used for establishing bidirectional trust between a client and a server.
    			A bootstrap token can be used when a client (for example a node that is about to join the cluster) needs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top