View gist:b9621b8fcff585be7d5a57a3ae55bc9a
func check(s string) bool {
i, l := 0, len(s)
for ; i < l; i++ {
if s[i] != '4' {
break
}
}
if i == 0 {
return false
}
View 1.asm
"".main STEXT size=99 args=0x0 locals=0x20
0x0000 00000 (1.go:3) TEXT "".main(SB), $32-0
0x0000 00000 (1.go:3) MOVQ TLS, CX
0x0009 00009 (1.go:3) MOVQ (CX)(TLS*2), CX
0x0010 00016 (1.go:3) CMPQ SP, 16(CX)
0x0014 00020 (1.go:3) JLS 92
0x0016 00022 (1.go:3) SUBQ $32, SP
0x001a 00026 (1.go:3) MOVQ BP, 24(SP)
0x001f 00031 (1.go:3) LEAQ 24(SP), BP
0x0024 00036 (1.go:3) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
View 0.asm
"".main STEXT size=81 args=0x0 locals=0x10
0x0000 00000 (0.go:3) TEXT "".main(SB), $16-0
0x0000 00000 (0.go:3) MOVQ TLS, CX
0x0009 00009 (0.go:3) MOVQ (CX)(TLS*2), CX
0x0010 00016 (0.go:3) CMPQ SP, 16(CX)
0x0014 00020 (0.go:3) JLS 74
0x0016 00022 (0.go:3) SUBQ $16, SP
0x001a 00026 (0.go:3) MOVQ BP, 8(SP)
0x001f 00031 (0.go:3) LEAQ 8(SP), BP
0x0024 00036 (0.go:3) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
View gist:529f93ee4cf868712287b37d5ff3bf42
diff --git a/table.go b/table.go
index 3314bfb..d983d96 100644
--- a/table.go
+++ b/table.go
@@ -72,6 +72,7 @@ type Table struct {
hdrLine bool
borders Border
colSize int
+ space bool
}
View log
[CC] main/args.o
[CC] main/dependency.o
main/dependency.c: In function 'linkDependencyAtInitializeParsing':
main/dependency.c:33:34: warning: unused parameter 'master' [-Wunused-parameter]
parserDefinition *const master,
^~~~~~
main/dependency.c: In function 'finalizeDependencies':
main/dependency.c:128:53: warning: unused parameter 'parser' [-Wunused-parameter]
extern void finalizeDependencies (parserDefinition *parser,
^~~~~~
View gist:6bf37bf7260eee9425e9e4f53e2003ad
diff --git a/lint.go b/lint.go
index a13129c..6320b24 100644
--- a/lint.go
+++ b/lint.go
@@ -188,6 +188,7 @@ func (f *file) lint() {
f.lintTimeNames()
f.lintContextKeyTypes()
f.lintContextArgs()
+ f.lintDeferInForLoop()
}
View gist:f2298123ccaf2620d01ef394928748bd
diff --git a/src/evalfunc.c b/src/evalfunc.c
index b16b26082..ca0aa0e85 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -2873,7 +2873,8 @@ f_execute(typval_T *argvars, typval_T *rettv)
/* "silent reg" or "silent echo x" leaves msg_col somewhere in the
* line. Put it back in the first column. */
- msg_col = 0;
+ if (emsg_off > 0)
View gitcd.bat
@echo off
chdir %*
set BRANCH=
for /f "eol=; tokens=1,2 delims== " %%i in ('"git branch 2>NUL"') do if "%%i"=="*" set BRANCH=%%j
if "%BRANCH%" neq "" (
set PROMPT=$P^(%BRANCH%^)$G
) else (
set PROMPT=$P$G
)
View main.go
package main
import (
"image"
"image/color"
"image/jpeg"
"log"
"os"
)