Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 228 for lineFor (0.11 sec)

  1. guava/src/com/google/common/collect/TopKSelector.java

        }
        return this;
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. src/runtime/traceback_test.go

    	//nLines := len(lines)
    	off := 0
    	lineNo := 0
    	fatal := func(f string, args ...any) {
    		msg := fmt.Sprintf(f, args...)
    		t.Fatalf("%s (line %d):\n%s", msg, lineNo, tb)
    	}
    	parseFrame := func(funcName, args string) *tbFrame {
    		// Consume file/line/etc
    		if !strings.HasPrefix(tb, "\t") {
    			fatal("missing source line")
    		}
    		_, tb, _ = strings.Cut(tb, "\n")
    		lineNo++
    		inlined := args == "..."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  3. test/maplinear.go

    		t1 := time.Now()
    		f(n)
    		return time.Since(t1)
    	}
    
    	t0 := time.Now()
    
    	n := tries
    	fails := 0
    	for {
    		t1 := timeF(n)
    		t2 := timeF(2 * n)
    
    		// should be 2x (linear); allow up to 3x
    		if t2 < 3*t1 {
    			if false {
    				fmt.Println(typ, "\t", time.Since(t0))
    			}
    			return
    		}
    		// If n ops run in under a second and the ratio
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser_test.go

    	var buf1 bytes.Buffer
    	_, err := Fprint(&buf1, ast1, LineForm)
    	if err != nil {
    		panic(err)
    	}
    	bytes1 := buf1.Bytes()
    
    	ast2, err := Parse(NewFileBase(filename), &buf1, nil, nil, 0)
    	if err != nil {
    		panic(err)
    	}
    
    	var buf2 bytes.Buffer
    	_, err = Fprint(&buf2, ast2, LineForm)
    	if err != nil {
    		panic(err)
    	}
    	bytes2 := buf2.Bytes()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
       * regression</a> of {@code y} as a function of {@code x}. The count must be greater than one, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    			fatalf("%s: unexpected: %d-byte uchar type - %s", lineno(pos), t.Size, dtype)
    		}
    		t.Go = c.uint8
    		t.Align = 1
    
    	case *dwarf.UintType:
    		if dt.BitSize > 0 {
    			fatalf("%s: unexpected: %d-bit uint type - %s", lineno(pos), dt.BitSize, dtype)
    		}
    		switch t.Size {
    		default:
    			fatalf("%s: unexpected: %d-byte uint type - %s", lineno(pos), t.Size, dtype)
    		case 1:
    			t.Go = c.uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. src/regexp/testdata/testregex.c

    	REG_EBUS,	"EBUS",
    	REG_EFAULT,	"EFAULT",
    	REG_EFLAGS,	"EFLAGS",
    	REG_EDELIM,	"EDELIM",
    };
    
    static struct
    {
    	regmatch_t	NOMATCH;
    	int		errors;
    	int		extracted;
    	int		ignored;
    	int		lineno;
    	int		passed;
    	int		signals;
    	int		unspecified;
    	int		verify;
    	int		warnings;
    	char*		file;
    	char*		stack;
    	char*		which;
    	jmp_buf		gotcha;
    #ifdef REG_DISCIPLINE
    	Disc_t		disc;
    #endif
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/term/terminal.go

    	if t.cursorX == 0 && t.cursorY == 0 {
    		t.writeLine(t.prompt)
    		t.c.Write(t.outBuf)
    		t.outBuf = t.outBuf[:0]
    	}
    
    	lineIsPasted := t.pasteActive
    
    	for {
    		rest := t.remainder
    		lineOk := false
    		for !lineOk {
    			var key rune
    			key, rest = bytesToKey(rest, t.pasteActive)
    			if key == utf8.RuneError {
    				break
    			}
    			if !t.pasteActive {
    				if key == keyCtrlD {
    					if len(t.line) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
  9. src/cmd/internal/objfile/goobj.go

    	// Should never be called. We implement Liner below, callers
    	// should use that instead.
    	return 0, nil, nil, fmt.Errorf("pcln not available in go object file")
    }
    
    // Find returns the file name, line, and function data for the given pc.
    // Returns "",0,nil if unknown.
    // This function implements the Liner interface in preference to pcln() above.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStats.java

        return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas));
      }
    
      /**
       * Returns a linear transformation giving the best fit to the data according to <a
       * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
       * regression</a> of {@code y} as a function of {@code x}. The count must be greater than one, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top