- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for nlCount (0.23 sec)
-
src/cmd/compile/internal/syntax/printer.go
// nothing to do case semi: p.writeString(";") p.nlcount = 0 prev = semi case blank: if prev != blank { // at most one blank p.writeBytes(blankByte) p.nlcount = 0 prev = blank } case newline: const maxEmptyLines = 1 if p.nlcount <= maxEmptyLines { p.write(newlineByte) p.nlcount++ prev = newline } case indent: p.indent++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/go/doc/testdata/benchmark.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 7.4K bytes - Viewed (0) -
src/testing/benchmark.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
src/fmt/scan_test.go
func (t *TwoLines) Scan(state ScanState, verb rune) error { chars := make([]rune, 0, 100) for nlCount := 0; nlCount < 2; { c, _, err := state.ReadRune() if err != nil { return err } chars = append(chars, c) if c == '\n' { nlCount++ } } *t = TwoLines(string(chars)) return nil } func TestMultiLine(t *testing.T) { input := "abc\ndef\n"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 20:25:13 UTC 2023 - 39.3K bytes - Viewed (0) -
cmd/erasure-encode.go
} } else { p.writers[i] = nil } } // If nilCount >= p.writeQuorum, we return nil. This is because HealFile() uses // CreateFile with p.writeQuorum=1 to accommodate healing of single disk. // i.e if we do no return here in such a case, reduceWriteQuorumErrs() would // return a quorum error to HealFile(). nilCount := countErrs(p.errs, nil) if nilCount >= p.writeQuorum { return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/xml/XmlValidation.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 22 14:56:07 UTC 2019 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go
} for plName, hr, nCount := cts.popHeldRequest(); hr != nil; plName, hr, nCount = cts.popHeldRequest() { desired := desiredPLNames.Has(plName) || mandPLs[plName] != nil if testDebugLogs { t.Logf("Releasing held request %#+v, desired=%v, plName=%s, count:=%d", hr.rd, desired, plName, nCount) } close(hr.finishCh) } cts.requestWG.Wait()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 18.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_linux_test.go
prepareFunc: func(kubelet *Kubelet) error { podDir := kubelet.getPodDir(poduid) return os.MkdirAll(filepath.Join(podDir, "volumes/"), 0750) }, expected: false, }, "noncsivolume-dir-exist-nomount": { prepareFunc: func(kubelet *Kubelet) error { podDir := kubelet.getPodDir(poduid) return os.MkdirAll(filepath.Join(podDir, "volumes/plugin/name"), 0750) }, expected: false, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 8.9K bytes - Viewed (0) -
cluster/gce/gci/mounter/mounter.go
chrootCmd = "chroot" mountCmd = "mount" rootfs = "rootfs" nfsRPCBindErrMsg = "mount.nfs: rpc.statd is not running but is required for remote locking.\nmount.nfs: Either use '-o nolock' to keep locks local, or start statd.\nmount.nfs: an incorrect mount option was specified\n" rpcBindCmd = "/sbin/rpcbind" defaultRootfs = "/home/kubernetes/containerized_mounter/rootfs" ) func main() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 20 22:26:16 UTC 2019 - 2.8K bytes - Viewed (0) -
src/syscall/zsysnum_freebsd_386.go
SYS___SETUGID = 374 // { int __setugid(int flag); } SYS_EACCESS = 376 // { int eaccess(char *path, int amode); } SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \ SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); } SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 25.5K bytes - Viewed (0)