- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 152 for unwrapping (0.15 sec)
-
android/guava/src/com/google/common/io/AppendableWriter.java
*/ @Override public void write(char[] cbuf, int off, int len) throws IOException { checkNotClosed(); // It turns out that creating a new String is usually as fast, or faster // than wrapping cbuf in a light-weight CharSequence. target.append(new String(cbuf, off, len)); } /* * Override a few functions for performance reasons to avoid creating unnecessary strings. */ @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
package lex import ( "fmt" "log" "os" "strings" "text/scanner" "cmd/internal/src" ) // A ScanToken represents an input item. It is a simple wrapping of rune, as // returned by text/scanner.Scanner, plus a couple of extra values. type ScanToken rune const ( // Asm defines some two-character lexemes. We make up // a rune/ScanToken value for them - ugly but simple.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/refs.go
return schema.Ref.String(), true } // A Ref may be wrapped in allOf to preserve its description // see https://github.com/kubernetes/kubernetes/issues/106387 // For kube-openapi, allOf is only used for wrapping a Ref. for _, allOf := range schema.AllOf { if ref, isRef := refOf(&allOf); isRef { return ref, isRef } } return "", false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 17:23:50 UTC 2023 - 3.7K bytes - Viewed (0) -
src/sync/poolqueue.go
typ, val unsafe.Pointer } const dequeueBits = 32 // dequeueLimit is the maximum size of a poolDequeue. // // This must be at most (1<<dequeueBits)/2 because detecting fullness // depends on wrapping around the ring buffer without wrapping around // the index. We divide by 4 so this fits in an int on 32-bit. const dequeueLimit = (1 << dequeueBits) / 4 // dequeueNil is used in poolDequeue to represent interface{}(nil).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 18:12:29 UTC 2024 - 8.3K bytes - Viewed (0) -
src/io/ioutil/ioutil.go
return nil, err } slices.SortFunc(list, func(a, b os.FileInfo) int { return strings.Compare(a.Name(), b.Name()) }) return list, nil } // NopCloser returns a ReadCloser with a no-op Close method wrapping // the provided Reader r. // // Deprecated: As of Go 1.16, this function simply calls [io.NopCloser]. func NopCloser(r io.Reader) io.ReadCloser { return io.NopCloser(r) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/LibrariesSourceGenerator.java
public boolean wrapping; private ClassNode(AccessorKind kind, @Nullable ClassNode parent, @Nullable String name) { this.kind = kind; this.parent = parent; this.name = name; } private String getSimpleName() { if (parent == null || wrapping) { return ""; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 36K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSequenceReader.java
@GwtIncompatible @ElementTypesAreNonnullByDefault final class CharSequenceReader extends Reader { @CheckForNull private CharSequence seq; private int pos; private int mark; /** Creates a new reader wrapping the given character sequence. */ public CharSequenceReader(CharSequence seq) { this.seq = checkNotNull(seq); } private void checkOpen() throws IOException { if (seq == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSequenceReader.java
@GwtIncompatible @ElementTypesAreNonnullByDefault final class CharSequenceReader extends Reader { @CheckForNull private CharSequence seq; private int pos; private int mark; /** Creates a new reader wrapping the given character sequence. */ public CharSequenceReader(CharSequence seq) { this.seq = checkNotNull(seq); } private void checkOpen() throws IOException { if (seq == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 4.5K bytes - Viewed (0) -
src/go/format/format.go
// or [ast.Stmt]. Node does not modify node. Imports are not sorted for // nodes representing partial source files (for instance, if the node is // not an *[ast.File] or a *[printer.CommentedNode] not wrapping an *[ast.File]). // // The function may return early (before the entire result is written) // and return a formatting error, for instance due to an incorrect AST. func Node(dst io.Writer, fset *token.FileSet, node any) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 4.3K bytes - Viewed (0) -
src/net/http/transport_internal_test.go
package http import ( "bytes" "context" "crypto/tls" "errors" "io" "net" "net/http/internal/testcert" "strings" "testing" ) // Issue 15446: incorrect wrapping of errors when server closes an idle connection. func TestTransportPersistConnReadLoopEOF(t *testing.T) { ln := newLocalListener(t) defer ln.Close() connc := make(chan net.Conn, 1) go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:57:17 UTC 2024 - 6.2K bytes - Viewed (0)