- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 106 for appendRule (0.75 sec)
-
cmd/xl-storage_unix_test.go
t.Fatalf("Creating a volume failed with %s expected to pass.", err) } // Attempt to create a file to verify the permissions later. // AppendFile creates file with 0666 perms. if err = disk.AppendFile(context.Background(), testCase.volName, pathJoin("hello-world.txt", xlStorageFormatFile), []byte("Hello World")); err != nil { t.Fatalf("Create a file `test` failed with %s expected to pass.", err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jul 25 19:37:26 UTC 2022 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiConsole.java
private final AnsiExecutor ansiExecutor; public AnsiConsole(Appendable target, Flushable flushable, ColorMap colorMap, ConsoleMetaData consoleMetaData, boolean forceAnsi) { this(target, flushable, colorMap, consoleMetaData, new DefaultAnsiFactory(forceAnsi)); } private AnsiConsole(Appendable target, Flushable flushable, ColorMap colorMap, ConsoleMetaData consoleMetaData, AnsiFactory factory) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 4.4K bytes - Viewed (0) -
src/unicode/utf8/example_test.go
fmt.Println(utf8.ValidString(valid)) fmt.Println(utf8.ValidString(invalid)) // Output: // true // false } func ExampleAppendRune() { buf1 := utf8.AppendRune(nil, 0x10000) buf2 := utf8.AppendRune([]byte("init"), 0x10000) fmt.Println(string(buf1)) fmt.Println(string(buf2)) // Output: // ๐ // init๐
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 05 21:29:18 UTC 2021 - 3.6K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
defer os.Remove(name2) f.WriteString("bbbbbbbbbb") f.Close() if err = AppendFile(name1, name2, false); err != nil { t.Error(err) } b, err := os.ReadFile(name1) if err != nil { t.Error(err) } expected := "aaaaaaaaaabbbbbbbbbb" if string(b) != expected { t.Errorf("AppendFile() failed, expected: %s, got %s", expected, string(b)) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/configuration/DefaultBuildClientMetaData.java
private final GradleLauncherMetaData delegate; public DefaultBuildClientMetaData(GradleLauncherMetaData delegate) { this.delegate = delegate; } @Override public void describeCommand(Appendable output, String... args) { delegate.describeCommand(output, args); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:55:06 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go
func (rb *reorderBuffer) decomposeHangul(r rune) { r -= hangulBase x := r % jamoTCount r /= jamoTCount rb.appendRune(jamoLBase + r/jamoVCount) rb.appendRune(jamoVBase + r%jamoVCount) if x != 0 { rb.appendRune(jamoTBase + x) } } // combineHangul algorithmically combines Jamo character components into Hangul.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/configuration/GradleLauncherMetaData.java
} public GradleLauncherMetaData(String appName) { this.appName = appName; } public String getAppName() { return appName; } public void describeCommand(Appendable output, String... args) { try { output.append(appName); for (String arg : args) { output.append(' '); output.append(arg); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:55:06 UTC 2024 - 1.4K bytes - Viewed (0) -
src/encoding/json/fold.go
if 'a' <= c && c <= 'z' { c -= 'a' - 'A' } out = append(out, c) i++ continue } // Handle multi-byte Unicode. r, n := utf8.DecodeRune(in[i:]) out = utf8.AppendRune(out, foldRune(r)) i += n } return out } // foldRune is returns the smallest rune for all runes in the same fold set. func foldRune(r rune) rune { for { r2 := unicode.SimpleFold(r) if r2 <= r {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 27 17:37:27 UTC 2023 - 1.1K bytes - Viewed (0) -
src/unicode/utf16/utf16.go
n += 2 default: a[n] = uint16(replacementChar) n++ } } return a[:n] } // AppendRune appends the UTF-16 encoding of the Unicode code point r // to the end of p and returns the extended buffer. If the rune is not // a valid Unicode code point, it appends the encoding of U+FFFD. func AppendRune(a []uint16, r rune) []uint16 { // This function is inlineable for fast handling of ASCII. switch {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:48 UTC 2024 - 3.9K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/maven-wrapper.jar
private final java.util.Properties properties; private final java.io.File propertiesFile; private final Appendable warningOutput; private final WrapperConfiguration config; public static WrapperExecutor forProjectDirectory(java.io.File, Appendable); public static WrapperExecutor forWrapperProperties(java.io.File, Appendable); void WrapperExecutor(java.io.File, java.util.Properties, Appendable); private java.net.URI prepareDistributionU() throws java.net.URISyntaxException; private java.net.URI readDistroUrl()...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 49.5K bytes - Viewed (0)