- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 301 for NEWLINE (0.09 sec)
-
hack/verify-non-mutating-validation.sh
mutationOutput=$(find . -name validation.go -print0 | xargs -0 egrep -n ' = old' | grep -v '// +k8s:verify-mutation:reason=clone' || true) foundMutation=${#mutationOutput} # when there's no match, there is a newline if [ "$foundMutation" -gt "1" ]; then echo "${mutationOutput}" echo "It looks like an assignment of a value using the old object. This is a heuristic check. If a mutation is happening in validation please fix it."
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 08 18:37:55 UTC 2021 - 2K bytes - Viewed (0) -
cmd/gotemplate/gotemplate_test.go
numSpaces int content string expected string }{ "empty": { numSpaces: 10, content: "", expected: "", }, "trailing-newline": { numSpaces: 2, content: "hello\nworld\n", expected: "hello\n world\n ", }, "no-trailing-newline": { numSpaces: 1, content: "hello\nworld", expected: "hello\n world", }, "zero-indent": { numSpaces: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 22 13:43:42 UTC 2024 - 2.7K bytes - Viewed (0) -
test/syntax/semi6.go
// errorcheck // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type T1 // ERROR "newline in type declaration"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 02 02:56:41 UTC 2020 - 299 bytes - Viewed (0) -
test/syntax/semi7.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func main() { if x { } // GCCGO_ERROR "undefined" else { } // ERROR "unexpected semicolon or newline before .?else.?|unexpected else"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 329 bytes - Viewed (0) -
test/syntax/semi5.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main func main()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 262 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of(); private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS = ImmutableMap.of( '\n', "<newline>", '\t', "<tab>", '&', "<and>"); public void testSafeRange() throws IOException { // Basic escaping of unsafe chars (wrap them in {,}'s) CharEscaper wrappingEscaper =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 23:02:38 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of(); private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS = ImmutableMap.of( '\n', "<newline>", '\t', "<tab>", '&', "<and>"); public void testSafeRange() throws IOException { // Basic escaping of unsafe chars (wrap them in {,}'s) CharEscaper wrappingEscaper =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 23:02:38 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/gofmt/testdata/stdin3.golden
//gofmt -stdin /* note: no newline at end of file */ for i := 0; i < 10; i++ { s += i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 22 00:25:13 UTC 2014 - 101 bytes - Viewed (0) -
src/cmd/gofmt/testdata/stdin3.input
//gofmt -stdin /* note: no newline at end of file */ for i := 0; i < 10; i++ { s += i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 22 00:25:13 UTC 2014 - 96 bytes - Viewed (0) -
src/encoding/pem/pem.go
} // removeSpacesAndTabs returns a copy of its input with all spaces and tabs // removed, if there were any. Otherwise, the input is returned unchanged. // // The base64 decoder already skips newline characters, so we don't need to // filter them out here. func removeSpacesAndTabs(data []byte) []byte { if !bytes.ContainsAny(data, " \t") { // Fast path; most base64 data within PEM contains newlines, but
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.6K bytes - Viewed (0)