Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for config (0.14 sec)

  1. src/cmd/cgo/doc.go

    	// #include <png.h>
    	import "C"
    
    Alternatively, CPPFLAGS and LDFLAGS may be obtained via the pkg-config tool
    using a '#cgo pkg-config:' directive followed by the package names.
    For example:
    
    	// #cgo pkg-config: png cairo
    	// #include <png.h>
    	import "C"
    
    The default pkg-config tool may be changed by setting the PKG_CONFIG environment variable.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if i != 0 {
    		t.Fatalf("unexpected return from bytes.ReadFrom (1): got: %d, want %d", i, 0)
    	}
    	check(t, "TestReadFromPanicReader (1)", &buf, "")
    
    	// Confirm that when Reader panics, the empty buffer remains empty
    	var buf2 Buffer
    	defer func() {
    		recover()
    		check(t, "TestReadFromPanicReader (2)", &buf2, "")
    	}()
    	buf2.ReadFrom(panicReader{panic: true})
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue1435.go

    //   pthread_mutex_unlock(&mu);
    //   for (i = 0; i < nts; i++) {
    //     pthread_join(t[i], NULL);
    //   }
    //   pthread_mutex_destroy(&mu);
    //   free(t);
    // }
    import "C"
    
    // compareStatus is used to confirm the contents of the thread
    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    	var sizes types.Sizes
    	if w.context != nil {
    		sizes = types.SizesFor(w.context.Compiler, w.context.GOARCH)
    	}
    	conf := types.Config{
    		IgnoreFuncBodies: true,
    		FakeImportC:      true,
    		Importer:         w,
    		Sizes:            sizes,
    	}
    	tpkg, err := conf.Check(name, fset, files, nil)
    	if err != nil {
    		ctxt := "<no context>"
    		if w.context != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top