Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 529 for testfn (0.2 sec)

  1. src/strconv/ftoa_test.go

    		}
    		if float64(float32(test.f)) == test.f && test.fmt != 'b' {
    			s := FormatFloat(test.f, test.fmt, test.prec, 32)
    			if s != test.s {
    				t.Error("testN=32", test.f, string(test.fmt), test.prec, "want", test.s, "got", s)
    			}
    			x := AppendFloat([]byte("abc"), test.f, test.fmt, test.prec, 32)
    			if string(x) != "abc"+test.s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 24 23:50:20 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  2. docs/de/docs/history-design-future.md

    Ich habe seit mehreren Jahren APIs mit komplexen Anforderungen (maschinelles Lernen, verteilte Systeme, asynchrone Jobs, NoSQL-Datenbanken, usw.) erstellt und leitete mehrere Entwicklerteams.
    
    Dabei musste ich viele Alternativen untersuchen, testen und nutzen.
    
    Die Geschichte von **FastAPI** ist zu einem großen Teil die Geschichte seiner Vorgänger.
    
    Wie im Abschnitt [Alternativen](alternatives.md){.internal-link target=_blank} gesagt:
    
    <blockquote markdown="1">
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/strconv/fp_test.go

    	}
    	f64, err1 := strconv.ParseFloat(s, 32)
    	f1 := float32(f64)
    	if err1 != nil {
    		return 0, false
    	}
    	return f1, true
    }
    
    func TestFp(t *testing.T) {
    	f, err := os.Open("testdata/testfp.txt")
    	if err != nil {
    		t.Fatal("testfp: open testdata/testfp.txt:", err)
    	}
    	defer f.Close()
    
    	s := bufio.NewScanner(f)
    
    	for lineno := 1; s.Scan(); lineno++ {
    		line := s.Text()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    		tests: []testFnc{
    			testRead{100, "\x00", io.ErrUnexpectedEOF},
    		},
    	}, {
    		maker: makeSparse{makeReg{"ab", 2}, sparseDatas{{1, 3}, {6, 5}}, 15},
    		tests: []testFnc{
    			testRead{100, "\x00ab", errMissData},
    		},
    	}, {
    		maker: makeSparse{makeReg{"ab", 8}, sparseDatas{{1, 3}, {6, 5}}, 15},
    		tests: []testFnc{
    			testRead{100, "\x00ab", io.ErrUnexpectedEOF},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-same-island.pbtxt

        key: "Tout"
        value {
          list {
            type: DT_FLOAT
          }
        }
      }
      attr {
        key: "f"
        value {
          func {
            name: "test_fn"
          }
        }
      }
    }
    library {
      function {
        signature {
          name: "test_fn"
          input_arg {
            name: "a"
            type: DT_FLOAT
          }
          output_arg {
            name: "c"
            type: DT_FLOAT
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    		tests: []testFnc{
    			testWrite{"\x00\x00abcde", 5, errWriteHole},
    		},
    	}, {
    		maker: makeSparse{makeReg{3, "abc"}, sparseHoles{{0, 2}, {5, 2}}, 7},
    		tests: []testFnc{
    			testWrite{"\x00\x00abc\x00\x00z", 7, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{3, "abc"}, sparseHoles{{0, 2}, {5, 2}}, 7},
    		tests: []testFnc{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  7. docs/de/docs/reference/testclient.md

    # Testclient – `TestClient`
    
    Sie können die `TestClient`-Klasse verwenden, um FastAPI-Anwendungen zu testen, ohne eine tatsächliche HTTP- und Socket-Verbindung zu erstellen, Sie kommunizieren einfach direkt mit dem FastAPI-Code.
    
    Lesen Sie mehr darüber in der [FastAPI-Dokumentation über Testen](../tutorial/testing.md).
    
    Sie können sie direkt von `fastapi.testclient` importieren:
    
    ```python
    from fastapi.testclient import TestClient
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:14:49 UTC 2024
    - 481 bytes
    - Viewed (0)
  8. src/testing/fstest/testfs_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fstest
    
    import (
    	"errors"
    	"internal/testenv"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"testing"
    )
    
    func TestSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	tmp := t.TempDir()
    	tmpfs := os.DirFS(tmp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/testing/fstest/63675.md

    [TestFS] now returns a structured error that can be unwrapped
    (via method `Unwrap() []error`). This allows inspecting errors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 159 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt

        key: "Tout"
        value {
          list {
            type: DT_FLOAT
          }
        }
      }
      attr {
        key: "f"
        value {
          func {
            name: "test_fn"
          }
        }
      }
    }
    library {
      function {
        signature {
          name: "test_fn"
          input_arg {
            name: "a"
            type: DT_FLOAT
          }
          output_arg {
            name: "d"
            type: DT_FLOAT
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.9K bytes
    - Viewed (0)
Back to top