Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for lineFor (0.17 sec)

  1. docs/bucket/replication/delete-replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "dc1 server logs ========="
    		cat /tmp/dc1.log
    		echo "dc2 server logs ========="
    		cat /tmp/dc2.log
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	set +e
    	pkill minio
    	pkill mc
    	rm -rf /tmp/xl/
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LinearTransformation.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import javax.annotation.CheckForNull;
    
    /**
     * The representation of a linear transformation between real numbers {@code x} and {@code y}.
     * Graphically, this is the specification of a straight line on a plane. The transformation can be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracterTest.groovy

            atom:   INT
                ;"""
            expect:
            "org.acme" == new MetadataExtracter().getPackageName(new StringReader(grammar))
        }
    
        def "parses package information when header is declared as one-liner"() {
            given:
            def grammar = """
            header { package org.acme; }
    
            class TestGrammar extends Parser;
    
            options {
                buildAST = true;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_tensor.cc

      mutex_lock lock(mu_);
      if (!definition_event_) {
        return;
      }
    
      // The set of defined streams is expected to be very small indeed (usually
      // 1-2), so a simple linear scan should be fast enough.
      if (std::find(streams_defined_on_.begin(), streams_defined_on_.end(),
                    stream) != streams_defined_on_.end()) {
        // stream is in streams_defined_on_; it doesn't need to be waited on.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/wasm/a.out.go

    	AEnd // opcode 0x0B
    	ABr
    	ABrIf
    	ABrTable
    	// ACall and AReturn are WebAssembly instructions. obj.ACALL and obj.ARET are higher level instructions
    	// with Go semantics, e.g. they manipulate the Go stack on the linear memory.
    	AReturn
    	ACall
    	ACallIndirect
    
    	ADrop // opcode 0x1A
    	ASelect
    
    	ALocalGet // opcode 0x20
    	ALocalSet
    	ALocalTee
    	AGlobalGet
    	AGlobalSet
    
    	AI32Load // opcode 0x28
    	AI64Load
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/net/http/mapping_test.go

    		"articles",
    	}
    	if len(children) != 32 {
    		panic("bad len")
    	}
    	for _, n := range []int{2, 4, 8, 16, 32} {
    		list := children[:n]
    		b.Run(fmt.Sprintf("n=%d", n), func(b *testing.B) {
    
    			b.Run("rep=linear", func(b *testing.B) {
    				var entries []entry[string, any]
    				for _, c := range list {
    					entries = append(entries, entry[string, any]{c, nil})
    				}
    				b.ResetTimer()
    				for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 17:47:07 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    	// single pass over the AST, but seldom is there more than one.)
    	for v, stmt := range cancelvars {
    		if ret := lostCancelPath(pass, g, v, stmt, sig); ret != nil {
    			lineno := pass.Fset.Position(stmt.Pos()).Line
    			pass.ReportRangef(stmt, "the %s function is not used on all paths (possible context leak)", v.Name())
    
    			pos, end := ret.Pos(), ret.End()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. src/cmd/internal/pgo/pprof.go

    		seenStartLine = seenStartLine || n.Info.StartLine != 0
    
    		canonicalName := n.Info.Name
    		// Create the key to the nodeMapKey.
    		namedEdge := NamedCallEdge{
    			CallerName:     canonicalName,
    			CallSiteOffset: n.Info.Lineno - n.Info.StartLine,
    		}
    
    		for _, e := range n.Out {
    			totalWeight += e.WeightValue()
    			namedEdge.CalleeName = e.Dest.Info.Name
    			// Create new entry or increment existing entry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/regexp/backtrack.go

    // a bit vector with (length of input) * (length of prog) bits,
    // to make sure it never explores the same (character position, instruction)
    // state multiple times. This limits the search to run in time linear in
    // the length of the test.
    //
    // backtrack is a fast replacement for the NFA code on small
    // regexps when onepass cannot be used.
    
    package regexp
    
    import (
    	"regexp/syntax"
    	"sync"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 17:25:39 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/internal/pkgpattern/pkgpattern.go

    	// This is a bit complicated but the obvious alternative,
    	// namely a hand-written search like in most shell glob matchers,
    	// is too easy to make accidentally exponential.
    	// Using package regexp guarantees linear-time matching.
    
    	const vendorChar = "\x00"
    
    	if vendorExclude && strings.Contains(pattern, vendorChar) {
    		return func(name string) bool { return false }
    	}
    
    	re := regexp.QuoteMeta(pattern)
    	wild := `.*`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 16:43:40 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top