Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 154 for unwrapping (0.23 sec)

  1. 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)
  2. src/cmd/asm/internal/lex/tokenizer.go

    package lex
    
    import (
    	"go/build/constraint"
    	"io"
    	"os"
    	"strings"
    	"text/scanner"
    	"unicode"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    // for our purposes and made a TokenReader. It forms the lowest level,
    // turning text from readers into tokens.
    type Tokenizer struct {
    	tok  ScanToken
    	s    *scanner.Scanner
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top