- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 127 for decode (0.25 sec)
-
src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go
func init() { decoderCover = make([]bool, len(instFormats)) } // Decode decodes the 4 bytes in src as a single instruction. func Decode(src []byte) (inst Inst, err error) { if len(src) < 4 { return Inst{}, errShort } x := binary.LittleEndian.Uint32(src) Search: for i := range instFormats { f := &instFormats[i] if x&f.mask != f.value { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 76.9K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
v := BaseOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate") } vn := BaseOptions{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 62.6K bytes - Viewed (0) -
src/encoding/json/decode_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
// read and decode first System.arraycopy(this.sbuf, 4, buffer, 0, Smb2Constants.SMB2_HEADER_LENGTH); readn(this.in, buffer, Smb2Constants.SMB2_HEADER_LENGTH, rl - Smb2Constants.SMB2_HEADER_LENGTH); cur.setReadSize(rl); int len = cur.decode(buffer, 0); if ( len > rl ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go
tearDown, apiExtensionClient, client, err := fixtures.StartDefaultServerWithClients(t) if err != nil { t.Fatal(err) } defer tearDown() // decode CRD manifest obj, _, err := clientschema.Codecs.UniversalDeserializer().Decode([]byte(fixtureItemsAndType), nil, nil) if err != nil { t.Fatalf("failed decoding of: %v\n\n%s", err, fixtureItemsAndType) } crd := obj.(*apiextensionsv1.CustomResourceDefinition)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 26 20:48:36 UTC 2021 - 63.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
} func (s unstructuredNegotiatedSerializer) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder { returnUnknownFieldPaths := false if serializer, ok := decoder.(*json.Serializer); ok { returnUnknownFieldPaths = serializer.IsStrict() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 52.9K bytes - Viewed (0) -
configure.py
if not is_windows() or sys.version_info[0] != 2: return env for k, v in env.items(): if isinstance(k, unicode): k = k.encode('ascii') if isinstance(v, unicode): v = v.encode('ascii') env[k] = v return env cuda_libraries = ['cuda', 'cudnn'] if is_linux(): if int(environ_cp.get('TF_NEED_TENSORRT', False)):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 04:32:44 UTC 2024 - 53.8K bytes - Viewed (1) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
r0, _, e1 := syscall.Syscall(procGetProcAddress.Addr(), 2, uintptr(module), ordinal, 0) proc = uintptr(r0) if proc == 0 { err = errnoErr(e1) } return } func Exit(code int) { ExitProcess(uint32(code)) } func makeInheritSa() *SecurityAttributes { var sa SecurityAttributes sa.Length = uint32(unsafe.Sizeof(sa)) sa.InheritHandle = 1 return &sa }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
// Read the file in as []byte data, err := os.ReadFile(path) if err != nil { return err } decoder := utilyaml.NewYAMLOrJSONDecoder(bytes.NewReader(data), 4096) // Split the data by YAML drame for { parsed := &unstructured.Unstructured{} if err := decoder.Decode(parsed); err != nil { if errors.Is(err, io.EOF) { break } return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
Port: 80, Protocol: simulation.TCP, TLS: simulation.TLS, CallMode: simulation.CallModeInbound, }, Disabled: simulation.Result{ // TLS is not terminated, so we will attempt to decode as HTTP and fail Error: simulation.ErrProtocolError, }, Permissive: simulation.Result{ // This could also be a protocol error. In the current implementation, we choose not
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0)