Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for fortytwo (0.17 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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