- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 615 for outp (0.06 sec)
-
src/encoding/pem/pem_test.go
{"abc\nd\t ", "abc", "d\t "}, } func TestGetLine(t *testing.T) { for i, test := range getLineTests { x, y := getLine([]byte(test.in)) if string(x) != test.out1 || string(y) != test.out2 { t.Errorf("#%d got:%+v,%+v want:%s,%s", i, x, y, test.out1, test.out2) } } } func TestDecode(t *testing.T) { result, remainder := Decode([]byte(pemData)) if !reflect.DeepEqual(result, certificate) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 22:56:00 UTC 2022 - 23.5K bytes - Viewed (0) -
src/testing/run_example.go
defer func() { timeSpent := time.Since(start) // Close pipe, restore stdout, get output. w.Close() os.Stdout = stdout out := <-outC err := recover() ok = eg.processRunResult(out, timeSpent, finished, err) }() // Run example. eg.F() finished = true return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 1.3K bytes - Viewed (0) -
test/235.go
// Test the solution, silently. package main type T chan uint64 func M(f uint64) (in, out T) { in = make(T, 100) out = make(T, 100) go func(in, out T, f uint64) { for { out <- f*<-in } }(in, out, f) return in, out } func min(xs []uint64) uint64 { m := xs[0] for i := 1; i < len(xs); i++ { if xs[i] < m { m = xs[i] } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 1.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_update_uuid.go
func machoRewriteUuid(ctxt *Link, exef *os.File, exem *macho.File, outexe string) error { outf, err := os.OpenFile(outexe, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755) if err != nil { return err } defer outf.Close() // Copy over the file. if _, err := io.Copy(outf, exef); err != nil { return err } // Locate the portion of the binary containing the load commands.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td
let results = (outs quant_RealValueType); } // A DequantizeCast op (dcast) represents the inverse of a qcast, // converting back from a quantized to quantizable (expressed) type. // // Like qcasts, a dcast is allowed to have both its operand and result // as non quantized types. This facilitates transformations and marks edges // where the computation must be carried out in the expressed type. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 09 03:10:59 UTC 2024 - 10.2K bytes - Viewed (0) -
src/runtime/memmove_loong64.s
SUBVU R9, R5, R7 AND $7, R7 BNE R7, out1 // if less than 8 bytes, do byte copying SGTU $8, R6, R7 BNE R7, out1 // do one byte at a time until 8-aligned AND $7, R9, R8 BEQ R8, words1 ADDV $-1, R5 MOVB (R5), R7 ADDV $-1, R9 MOVB R7, (R9) JMP -6(PC) words1: // do 8 bytes at a time if there is room ADDV $7, R4, R6 // R6 is start pointer+7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/memmove_mips64x.s
SUBVU R6, R2, R4 AND $7, R4 BNE R4, out1 // if less than 8 bytes, do byte copying SGTU $8, R3, R4 BNE R4, out1 // do one byte at a time until 8-aligned AND $7, R6, R5 BEQ R5, words1 ADDV $-1, R2 MOVB (R2), R4 ADDV $-1, R6 MOVB R4, (R6) JMP -6(PC) words1: // do 8 bytes at a time if there is room ADDV $7, R1, R3 // R3 is start pointer+7 SGTU R6, R3, R5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td
let results = (outs quant_RealValueType); } // A DequantizeCast op (dcast) represents the inverse of a qcast, // converting back from a quantized to quantizable (expressed) type. // // Like qcasts, a dcast is allowed to have both its operand and result // as non quantized types. This facilitates transformations and marks edges // where the computation must be carried out in the expressed type. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 13 12:46:08 UTC 2022 - 10.2K bytes - Viewed (0) -
src/go/doc/testdata/example.go
w.Close() os.Stdout, os.Stderr = stdout, stderr out := <-outC // report any errors tstr := fmt.Sprintf("(%.2f seconds)", dt.Seconds()) if g, e := strings.TrimSpace(out), strings.TrimSpace(eg.Output); g != e { fmt.Printf("--- FAIL: %s %s\ngot:\n%s\nwant:\n%s\n", eg.Name, tstr, g, e) ok = false } else if *chatty { fmt.Printf("--- PASS: %s %s\n", eg.Name, tstr) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 1.6K bytes - Viewed (0) -
src/math/bits/make_examples.go
fmt.Fprintf(w, "\t// %0*b\n", size, e.out[i]) if e.name == "RotateLeft" && e.out2[i] != nil { fmt.Fprintf(w, "\t// %0*b\n", size, e.out2[i]) } default: fmt.Fprintf(w, "\tfmt.Printf(\"%s(%%0%db) = %%d\\n\", %d, bits.%s(%d))\n", f, size, e.in, f, e.in) fmt.Fprintf(w, "\t// Output:\n") fmt.Fprintf(w, "\t// %s(%0*b) = %d\n", f, size, e.in, e.out[i]) } fmt.Fprintf(w, "}\n") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 3K bytes - Viewed (0)