Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,692 for miny (0.11 sec)

  1. test/fixedbugs/issue23732.go

    		1,
    		2,
    		3,
    	} // GC_ERROR "too few values in"
    
    	_ = Foo{
    		1,
    		2,
    		3,
    		Bar{"A", "B"}, // ERROR "too many values in|too many expressions"
    	}
    
    	_ = Foo{ // GCCGO_ERROR "too few expressions"
    		1,
    		2,
    		Bar{"A", "B"}, // ERROR "too many values in|too many expressions"
    	} // GC_ERROR "too few values in"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 749 bytes
    - Viewed (0)
  2. test/fixedbugs/issue19012.go

    func f(x int, y uint) {
    	if true {
    		return "a" > 10 // ERROR "^too many arguments to return$|return with value in function with no return|no result values expected|mismatched types"
    	}
    	return "gopher" == true, 10 // ERROR "^too many arguments to return$|return with value in function with no return|no result values expected|mismatched types"
    }
    
    func main() {
    	f(2, 3 < "x", 10) // ERROR "too many arguments|invalid operation|incompatible type"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 22:22:08 UTC 2023
    - 872 bytes
    - Viewed (0)
  3. test/noinit.go

    // run
    //go:build !gcflags_noopt
    
    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that many initializations can be done at link time and
    // generate no executable init functions.
    // Also test that trivial func init are optimized away.
    
    package main
    
    import (
    	"errors"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. test/typecheck.go

    // die after running into an undefined
    // type in the argument list for a
    // function.
    // Does not compile.
    
    package main
    
    func mine(int b) int { // ERROR "undefined.*b"
    	return b + 2 // ERROR "undefined.*b"
    }
    
    func main() {
    	mine()     // ERROR "not enough arguments"
    	c = mine() // ERROR "undefined.*c|not enough arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 543 bytes
    - Viewed (0)
  5. docs/en/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image02.png">
    
    And your **FastAPI** application with WebSockets will respond back:
    
    <img src="/img/tutorial/websockets/image03.png">
    
    You can send (and receive) many messages:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    And all of them will use the same WebSocket connection.
    
    ## Using `Depends` and others
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. docs/en/docs/history-design-future.md

    ## Future
    
    By this point, it's already clear that **FastAPI** with its ideas is being useful for many people.
    
    It is being chosen over previous alternatives for suiting many use cases better.
    
    Many developers and teams already depend on **FastAPI** for their projects (including me and my team).
    
    But still, there are many improvements and features to come.
    
    **FastAPI** has a great future ahead.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. test/finprofiled.go

    // run
    
    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that tiny allocations with finalizers are correctly profiled.
    // Previously profile special records could have been processed prematurely
    // (while the object is still live).
    
    package main
    
    import (
    	"runtime"
    	"time"
    	"unsafe"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. test/fixedbugs/issue48835.go

    func f2ddd(_, _ int, _ ...int)
    
    func f() {
    	var x int
    	f0(1)              // ERROR "too many arguments in call to f0\n\thave \(number\)\n\twant \(\)"
    	f0(x)              // ERROR "too many arguments in call to f0\n\thave \(int\)\n\twant \(\)"
    	f1()               // ERROR "not enough arguments in call to f1\n\thave \(\)\n\twant \(int\)"
    	f1(1, 2)           // ERROR "too many arguments in call to f1\n\thave \(number, number\)\n\twant \(int\)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 20:57:46 UTC 2021
    - 1K bytes
    - Viewed (0)
  9. src/net/http/httputil/example_test.go

    }
    
    func ExampleDumpRequestOut() {
    	const body = "Go is a general-purpose language designed with systems programming in mind."
    	req, err := http.NewRequest("PUT", "http://www.example.org", strings.NewReader(body))
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 16 20:01:36 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/tf_to_quant.mlir

    func.func @fakeQuantFolded() -> (tensor<8xf32>) {
      %in = arith.constant dense<0.0> : tensor<8xf32>
      %min = arith.constant dense<0.0> : tensor<f32>
      %max = arith.constant dense<255.0> : tensor<f32>
      %mini = "tf.Identity"(%min) : (tensor<f32>) -> tensor<f32>
      %maxi = "tf.Identity"(%max) : (tensor<f32>) -> tensor<f32>
      %rst = "tf.FakeQuantWithMinMaxVars"(%in, %mini, %maxi) {num_bits = 5, narrow_range = false} : (tensor<8xf32>, tensor<f32>, tensor<f32>) -> tensor<8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top