- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for writecode (0.12 sec)
-
operator/pkg/tpath/tree_test.go
root := make(map[string]any) if tt.baseYAML != "" { if err := yaml.Unmarshal([]byte(tt.baseYAML), &root); err != nil { t.Fatal(err) } } p := util.PathFromString(tt.path) err := WriteNode(root, p, tt.value) if gotErr, wantErr := errToString(err), tt.wantErr; gotErr != wantErr { t.Errorf("%s: gotErr:%s, wantErr:%s", tt.desc, gotErr, wantErr) return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 15.6K bytes - Viewed (0) -
src/net/http/response.go
return err } } // End-of-header if _, err := io.WriteString(w, "\r\n"); err != nil { return err } // Write body and trailer err = tw.writeBody(w) if err != nil { return err } // Success return nil } func (r *Response) closeBody() { if r.Body != nil { r.Body.Close() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 11.1K bytes - Viewed (0) -
operator/pkg/manifest/shared.go
kvv := strings.Split(kv, "=") if len(kvv) != 2 { return "", fmt.Errorf("bad argument %s: expect format key=value", kv) } k := kvv[0] v := util.ParseValue(kvv[1]) if err := tpath.WriteNode(tree, util.PathFromString(k), v); err != nil { return "", err } // To make errors more user friendly, test the path and error out immediately if we cannot unmarshal. testTree, err := yaml.Marshal(tree)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 03 06:27:07 UTC 2024 - 19.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
synchronized(this) { queueSize -= message.data.size.toLong() } } else if (messageOrClose is Close) { val close = messageOrClose as Close writer!!.writeClose(close.code, close.reason) // We closed the writer: now both reader and writer are closed. if (streamsToClose != null) { listener.onClosed(this, receivedCloseCode, receivedCloseReason!!)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0) -
src/compress/flate/inflate.go
goto copyHistory } copyHistory: // Perform a backwards copy according to RFC section 3.2.3. { cnt := f.dict.tryWriteCopy(f.copyDist, f.copyLen) if cnt == 0 { cnt = f.dict.writeCopy(f.copyDist, f.copyLen) } f.copyLen -= cnt if f.dict.availWrite() == 0 || f.copyLen > 0 { f.toRead = f.dict.readFlush() f.step = (*decompressor).huffmanBlock // We need to continue this work
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 23:20:03 UTC 2023 - 20.4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
{ int saved_errno = errno; diff --git a/timezone/zic.c b/timezone/zic.c index a5202a1..772d081 100644 --- a/timezone/zic.c +++ b/timezone/zic.c @@ -1609,7 +1609,7 @@ writezone(const char *const name, const char *const string) } #define DO(field) ((void) fwrite(tzh.field, sizeof tzh.field, 1, fp)) tzh = tzh0; - (void) strncpy(tzh.tzh_magic, TZ_MAGIC, sizeof tzh.tzh_magic);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 42.9K bytes - Viewed (0)