Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fortytwo (0.15 sec)

  1. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    package c
    
    import "testing"
    
    func TestC(t *testing.T) {
    	if CFunc(10, 10) == 1010101 {
    		t.Fatalf("bad!")
    	}
    }
    -- d/d.go --
    package d
    
    const FortyTwo = 42
    
    func DFunc() int {
      return FortyTwo
    }
    
    -- e/e_test.go --
    package e
    
    import (
    	"M/a"
    	"M/b"
    	"testing"
    )
    
    func TestBlah(t *testing.T) {
    	if b.BFunc() == 1010101 {
    		t.Fatalf("bad")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/toolexec.txt

    import "testing"
    
    func TestFoo(t *testing.T) {}
    -- foo_separate_test.go --
    package main_test
    
    import "testing"
    
    func TestSeparateFoo(t *testing.T) {}
    -- withcgo/withcgo.go --
    package withcgo
    
    // int fortytwo()
    // {
    //     return 42;
    // }
    import "C"
    -- withcgo/stub.go --
    package withcgo
    
    // Stub file to ensure we build without cgo too.
    -- withasm/withasm.go --
    package withasm
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. src/regexp/exec_test.go

    entythree|twentyfour|twentyfive|twentysix|twentyseven|twentyeight|twentynine|thirty|thirtyone|thirtytwo|thirtythree|thirtyfour|thirtyfive|thirtysix|thirtyseven|thirtyeight|thirtynine|forty|fortyone|fortytwo|fortythree|fortyfour|fortyfive|fortysix|fortyseven|fortyeight|fortynine|fifty|fiftyone|fiftytwo|fiftythree|fiftyfour|fiftyfive|fiftysix|fiftyseven|fiftyeight|fiftynine|sixty|sixtyone|sixtytwo|sixtythree|sixtyfour|sixtyfive|sixtysix|sixtyseven|sixtyeight|sixtynine|seventy|seventyone|seventytwo...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    	// typedef int (*intFunc) ();
    	//
    	// int
    	// bridge_int_func(intFunc f)
    	// {
    	//		return f();
    	// }
    	//
    	// int fortytwo()
    	// {
    	//	    return 42;
    	// }
    	import "C"
    	import "fmt"
    
    	func main() {
    		f := C.intFunc(C.fortytwo)
    		fmt.Println(int(C.bridge_int_func(f)))
    		// Output: 42
    	}
    
    In C, a function argument written as a fixed size array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/test.go

    #define alias_one base_symbol
    #define alias_two base_symbol
    
    // function pointer variables
    
    typedef int (*intFunc) ();
    
    int
    bridge_int_func(intFunc f)
    {
    	return f();
    }
    
    int fortytwo()
    {
    	return 42;
    }
    
    // issue 1222
    typedef union {
    	long align;
    } xxpthread_mutex_t;
    struct ibv_async_event {
    	union {
    		int x;
    	} element;
    };
    struct ibv_context {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  6. tests/util/leak/check.go

    // limitations under the License.
    
    // leak checks for goroutine leaks in tests
    // This is (heavily) inspired by https://github.com/grpc/grpc-go/blob/master/internal/leakcheck/leakcheck.go
    // and https://github.com/fortytw2/leaktest
    package leak
    
    import (
    	"errors"
    	"fmt"
    	"os"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"go.uber.org/atomic"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. go.sum

    github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
    github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
    github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
    github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 85.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      Output zero = ops::Const(root.WithOpName("test/zero"), 0);
      ops::TensorArrayWrite tensor_array_write(
          root.WithOpName("test/write"), tensor_array.handle, zero,
          ops::Const(root.WithOpName("test/forty_two"), 42.0f), tensor_array.flow);
      Output tensor_array_read =
          ops::TensorArrayRead(root.WithOpName("test/read"), tensor_array.handle,
                               zero, tensor_array_write.flow_out, DT_INT32);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/zip_sum_test/testdata/zip_sums.csv

    github.com/forestgiant/sliceutil,v0.0.0-20160425183142-94783f95db6c,h1:pBgVXWDXju1m8W4lnEeIqTHPOzhTUO81a7yknM/xQR4=,bedd47c23670847642576777cc8b53b9dd8a5a8e7b0a6f2299ebc6fa3b7b6f00
    github.com/fortytw2/leaktest,v1.3.0,h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=,867e6d131510751ba6055c51e7746b0056a6b3dcb1a1b2dfdc694251cd7eb8b3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 18 17:29:01 UTC 2020
    - 334.9K bytes
    - Viewed (0)
  10. CREDITS

     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     THE SOFTWARE.
    
    ================================================================
    
    github.com/fortytw2/leaktest
    https://github.com/fortytw2/leaktest
    ----------------------------------------------------------------
    Copyright (c) 2012 The Go Authors. All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
Back to top