Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 186 for Parses (0.16 sec)

  1. cmd/endpoint-ellipses_test.go

    		if paddinglen == 0 {
    			seq = append(seq, fmt.Sprintf("%d", i))
    		} else {
    			seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dd", paddinglen), i))
    		}
    	}
    	return seq
    }
    
    // Test tests parses endpoint ellipses input pattern.
    func TestParseEndpointSet(t *testing.T) {
    	testCases := []struct {
    		arg     string
    		es      endpointSet
    		success bool
    	}{
    		// Tests invalid inputs.
    		{
    			"...",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K 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. 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)
  6. 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)
  7. src/cmd/link/internal/ld/main.go

    		}
    		f, err := os.Create(*memprofile)
    		if err != nil {
    			log.Fatalf("%v", err)
    		}
    		AtExit(func() {
    			// Profile all outstanding allocations.
    			runtime.GC()
    			// compilebench parses the memory profile to extract memstats,
    			// which are only written in the legacy pprof format.
    			// See golang.org/issue/18641 and runtime/pprof/pprof.go:writeHeap.
    			const writeLegacyFormat = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    		return true
    	}
    	return false // in progress or completed but expired
    }
    
    // parseRestoreObjStatus parses restoreHdr from AmzRestore header. If the value is valid it returns a
    // restoreObjStatus value with the status and expiry (if any). Otherwise returns
    // the empty value and an error indicating the parse failure.
    func parseRestoreObjStatus(restoreHdr string) (restoreObjStatus, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K 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/cmd/compile/internal/types2/check_test.go

    		return nopos, err.Error()
    	}
    }
    
    // absDiff returns the absolute difference between x and y.
    func absDiff(x, y uint) uint {
    	if x < y {
    		return y - x
    	}
    	return x - y
    }
    
    // parseFlags parses flags from the first line of the given source if the line
    // starts with "//" (line comment) followed by "-" (possibly with spaces
    // between). Otherwise the line is ignored.
    func parseFlags(src []byte, flags *flag.FlagSet) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top