- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 867 for encode (0.11 sec)
-
cmd/listen-notification-handlers.go
tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}} for { select { case ev := <-localCh: buf.Reset() tmpEvt.Records[0] = ev if err := enc.Encode(tmpEvt); err != nil { bugLogIf(ctx, err, "event: Encode failed") continue } mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...) case <-ctx.Done(): grid.PutByteBuffer(buf.Bytes()) return } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
internal/store/queuestore.go
enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf) for i := range items { if err = enc.Encode(items[i]); err != nil { return err } } path := filepath.Join(store.directory, key.String()) if key.Compress { err = os.WriteFile(path, s2.Encode(nil, buf.Bytes()), os.FileMode(0o770)) } else { err = os.WriteFile(path, buf.Bytes(), os.FileMode(0o770)) } buf.Reset()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/api-headers.go
buf.WriteString(xxml.Header) if err := xxml.NewEncoder(&buf).Encode(response); err != nil { bugLogIf(GlobalContext, err) return nil } return buf.Bytes() } // Encodes the response headers into JSON format. func encodeResponseJSON(response interface{}) []byte { var bytesBuffer bytes.Buffer e := json.NewEncoder(&bytesBuffer) e.Encode(response) return bytesBuffer.Bytes() } // Write parts count
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
break; case 2: decode2byte(inData, num * 4, outData, num * 3); break; default: decode(inData, num * 4, outData, num * 3); } return outData; } private static void encode(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.3K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
flag.StringVar(&certFile, "cert-file", "", "Path to TLS cert file") } func writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "error": fmt.Sprintf("%v", err), }) } type Result struct { Result bool `json:"result"` } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
buf.enc_ndr_short(0); /* context id */ buf.enc_ndr_small(1); /* number of items */ buf.enc_ndr_small(0); /* reserved */ binding.uuid.encode(buf); buf.enc_ndr_short(binding.major); buf.enc_ndr_short(binding.minor); DCERPC_UUID_SYNTAX_NDR.encode(buf); buf.enc_ndr_long(2); /* syntax version */ } public void decode_out(NdrBuffer buf) throws NdrException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
/** * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a * href="https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set">URL * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding. * The caller is responsible for <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
buf.enc_ndr_small(1); /* number of items */ buf.enc_ndr_small(0); /* reserved */ this.binding.getUuid().encode(buf); buf.enc_ndr_short(this.binding.getMajor()); buf.enc_ndr_short(this.binding.getMinor()); DCERPC_UUID_SYNTAX_NDR.encode(buf); buf.enc_ndr_long(2); /* syntax version */ } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.3K bytes - Viewed (0)