Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 840 for wire (0.16 sec)

  1. src/net/http/httptest/recorder.go

    	// at https://httpwg.org/specs/rfc7231.html#status.codes)
    	// and we might block under 200 (once we have more mature 1xx support).
    	// But for now any three digits.
    	//
    	// We used to send "HTTP/1.1 000 0" on the wire in responses but there's
    	// no equivalent bogus thing we can realistically send in HTTP/2,
    	// so we'll consistently panic instead and help people find their bugs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/crypto/ecdh/ecdh.go

    	// constructed due to clamping; for NIST curves, it is rejected by
    	// NewPrivateKey.
    	privateKeyToPublicKey(*PrivateKey) *PublicKey
    }
    
    // PublicKey is an ECDH public key, usually a peer's ECDH share sent over the wire.
    //
    // These keys can be parsed with [crypto/x509.ParsePKIXPublicKey] and encoded
    // with [crypto/x509.MarshalPKIXPublicKey]. For NIST curves, they then need to
    // be converted with [crypto/ecdsa.PublicKey.ECDH] after parsing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. src/internal/testenv/exec.go

    		if cancelCtx != nil && ctx.Err() == context.DeadlineExceeded {
    			// The command timed out due to running too close to the test's deadline.
    			// There is no way the test did that intentionally — it's too close to the
    			// wire! — so mark it as a test failure. That way, if the test expects the
    			// command to fail for some other reason, it doesn't have to distinguish
    			// between that reason and a timeout.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/internal/profile/proto.go

    		data = data[n:]
    	case 5:
    		if len(data) < 4 {
    			return nil, errors.New("not enough data")
    		}
    		b.u64 = uint64(le32(data[:4]))
    		data = data[4:]
    	default:
    		return nil, fmt.Errorf("unknown wire type: %d", b.typ)
    	}
    
    	return data, nil
    }
    
    func checkType(b *buffer, typ int) error {
    	if b.typ != typ {
    		return errors.New("type mismatch")
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 16:20:57 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	}, nil
    }
    
    // SetAuthenticationInfoResolverWrapper sets the
    // AuthenticationInfoResolverWrapper.
    // TODO find a better way wire this, but keep this pull small for now.
    func (a *Webhook) SetAuthenticationInfoResolverWrapper(wrapper webhookutil.AuthenticationInfoResolverWrapper) {
    	a.clientManager.SetAuthenticationInfoResolverWrapper(wrapper)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/encoding/gob/encoder.go

    	info, err := getTypeInfo(ut)
    	if err != nil {
    		enc.setError(err)
    		return
    	}
    	// Send the pair (-id, type)
    	// Id:
    	state.encodeInt(-int64(info.id))
    	// Type:
    	enc.encode(state.b, reflect.ValueOf(info.wire), wireTypeUserInfo)
    	enc.writeMessage(w, state.b)
    	if enc.err != nil {
    		return
    	}
    
    	// Remember we've sent this type, both what the user gave us and the base type.
    	enc.sent[ut.base] = info.id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    	util "k8s.io/apimachinery/pkg/util/runtime"
    
    	"github.com/fxamacker/cbor/v2"
    )
    
    type metaFactory interface {
    	// Interpret should return the version and kind of the wire-format of the object.
    	Interpret(data []byte) (*schema.GroupVersionKind, error)
    }
    
    type defaultMetaFactory struct{}
    
    func (mf *defaultMetaFactory) Interpret(data []byte) (*schema.GroupVersionKind, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go

    		t.Fatal(err)
    	}
    	if n != len(wire1) || !bytes.Equal(wire1, wire2[:n]) {
    		t.Fatalf("unexpected wire:\n%s", hex.Dump(wire2[:n]))
    	}
    
    	wire1 = append([]byte{0x6b, 0x38, 0x73, 0x00}, wire1...)
    
    	obj1WithKind := obj1.DeepCopyObject()
    	obj1WithKind.GetObjectKind().SetGroupVersionKind(schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Carp"})
    	testCases := []struct {
    		obj   runtime.Object
    		data  []byte
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/io/fs/fs.go

    // The nine least-significant bits are the standard Unix rwxrwxrwx permissions.
    // The values of these bits should be considered part of the public API and
    // may be used in wire protocols or disk representations: they must not be
    // changed, although new bits might be added.
    const (
    	// The single letters are the abbreviations
    	// used by the String method's formatting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. docs/de/docs/benchmarks.md

        * Wenn Sie Uvicorn vergleichen, vergleichen Sie es mit Anwendungsservern wie Daphne, Hypercorn, uWSGI, usw.
    * **Starlette**:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 23 16:04:13 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top