Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 533 for Parses (0.16 sec)

  1. src/cmd/vet/vet_test.go

    	errAutoRx   = regexp.MustCompile(`// (?:GC_)?ERRORAUTO(NEXT)? (.*)`)
    	errQuotesRx = regexp.MustCompile(`"([^"]*)"`)
    	lineRx      = regexp.MustCompile(`LINE(([+-])(\d+))?`)
    )
    
    // wantedErrors parses expected errors from comments in a file.
    func wantedErrors(file, short string) (errs []wantedError) {
    	cache := make(map[string]*regexp.Regexp)
    
    	src, err := os.ReadFile(file)
    	if err != nil {
    		log.Fatal(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/internal/trace/generation.go

    				M: mid,
    				P: pid,
    				G: goid,
    			},
    			time:  Time(ts), // N.B. this is really a "timestamp," not a Time.
    			stack: stackID(s),
    		})
    	}
    	return samples, nil
    }
    
    // parseFreq parses out a lone EvFrequency from a batch.
    func parseFreq(b batch) (frequency, error) {
    	if !b.isFreqBatch() {
    		return 0, fmt.Errorf("internal error: parseFreq called on non-frequency batch")
    	}
    	r := bytes.NewReader(b.data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/time/format_test.go

    	// issue 56730
    	{"2006-01-02", "22-10-25", `parsing time "22-10-25" as "2006-01-02": cannot parse "22-10-25" as "2006"`},
    	{"06-01-02", "a2-10-25", `parsing time "a2-10-25" as "06-01-02": cannot parse "a2-10-25" as "06"`},
    	{"03:04PM", "12:03pM", `parsing time "12:03pM" as "03:04PM": cannot parse "pM" as "PM"`},
    	{"03:04pm", "12:03pM", `parsing time "12:03pM" as "03:04pm": cannot parse "pM" as "pm"`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                val result = module.getJavaModuleRoots()
                result
            }
        }
    
        /**
         * Note that [findJvmRootsForJavaFiles] parses the given [files] because it needs access to each file's package name. To avoid parsing
         * errors, [registerJavaPsiFacade] ensures that the Java language level is configured before [findJvmRootsForJavaFiles] is called.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/flags.h

    };
    
    // Return a pointer to the DumpGraphFlags struct;
    // repeated calls return the same pointer.
    // This should be called only after Flags::Parse() has returned.
    
    // Getters for flags structs defined above.  The first call to any of these
    // parses TF_XLA_FLAGS for all of them.  Those functions which return a pointer
    // always return the same pointer.
    MarkForCompilationPassFlags* GetMarkForCompilationPassFlags();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. src/syscall/syscall_darwin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Darwin system calls.
    // This file is compiled as ordinary Go code,
    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and wrap
    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package syscall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. pilot/pkg/xds/sds.go

    		return true
    	}
    	for update := range updates {
    		switch update.Kind {
    		case kind.Secret:
    			return true
    		case kind.ReferenceGrant:
    			return true
    		}
    	}
    	return false
    }
    
    // parseResources parses a list of resource names to SecretResource types, for a given proxy.
    // Invalid resource names are ignored
    func (s *SecretGen) parseResources(names []string, proxy *model.Proxy) []SecretResource {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    	"github.com/minio/minio/internal/mcontext"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	copyDirective    = "COPY"
    	replaceDirective = "REPLACE"
    	accessDirective  = "ACCESS"
    )
    
    // Parses location constraint from the incoming reader.
    func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) {
    	// If the request has no body with content-length set to 0,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	"strings"
    
    	md "rsc.io/markdown"
    )
    
    // NewParser returns a properly configured Markdown parser.
    func NewParser() *md.Parser {
    	var p md.Parser
    	p.HeadingIDs = true
    	return &p
    }
    
    // CheckFragment reports problems in a release-note fragment.
    func CheckFragment(data string) error {
    	doc := NewParser().Parse(data)
    	// Check that the content of the document contains either a TODO or at least one sentence.
    	txt := ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/compress/bzip2/bzip2.go

    	bz2 := new(reader)
    	bz2.br = newBitReader(r)
    	return bz2
    }
    
    const bzip2FileMagic = 0x425a // "BZ"
    const bzip2BlockMagic = 0x314159265359
    const bzip2FinalMagic = 0x177245385090
    
    // setup parses the bzip2 header.
    func (bz2 *reader) setup(needMagic bool) error {
    	br := &bz2.br
    
    	if needMagic {
    		magic := br.ReadBits(16)
    		if magic != bzip2FileMagic {
    			return StructuralError("bad magic value")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top