- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for EGL (0.06 sec)
-
src/cmd/cgo/internal/test/issue27054/egl.h
// Copyright 2018 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. // This is the relevant part of EGL/egl.h. typedef void *EGLDisplay;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 255 bytes - Viewed (0) -
src/cmd/fix/egltype_test.go
var eglTests = []testCase{ { Name: "egl.localVariable", In: `package main // typedef void *$EGLTYPE; import "C" func f() { var x C.$EGLTYPE = nil x = nil x, x = nil, nil } `, Out: `package main // typedef void *$EGLTYPE; import "C" func f() { var x C.$EGLTYPE = 0 x = 0 x, x = 0, 0 } `, }, { Name: "egl.globalVariable", In: `package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 22:02:42 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue27054/test27054.go
// Copyright 2018 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. package issue27054 /* #include "egl.h" */ import "C" import ( "testing" ) func Test27054(t *testing.T) { var ( // Note: 0, not nil. That makes sure we use uintptr for these types. _ C.EGLDisplay = 0 _ C.EGLConfig = 0 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 393 bytes - Viewed (0) -
src/cmd/fix/egltype.go
// license that can be found in the LICENSE file. package main import ( "go/ast" ) func init() { register(eglFixDisplay) register(eglFixConfig) } var eglFixDisplay = fix{ name: "egl", date: "2018-12-15", f: eglfixDisp, desc: `Fixes initializers of EGLDisplay`, disabled: false, } // Old state: // // type EGLDisplay unsafe.Pointer // // New state: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.1K bytes - Viewed (0) -
src/cmd/cgo/doc.go
go tool fix -r cftype <pkg> go tool fix -r jni <pkg> It will replace nil with 0 in the appropriate places. The EGLDisplay case was introduced in Go 1.12. Use the egl rewrite to auto-update code from Go 1.11 and earlier: go tool fix -r egl <pkg> The EGLConfig case was introduced in Go 1.15. Use the eglconf rewrite to auto-update code from Go 1.14 and earlier: go tool fix -r eglconf <pkg>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
resident','privateFootprintBytes':'Private footprint',};UsedMemoryColumn.PLATFORM_SPECIFIC_TOTALS_MAP={'vm':'Total virtual','swp':'Swapped','pc':'Private clean','pd':'Private dirty','sc':'Shared clean','sd':'Shared dirty','gpu_egl':'GPU EGL','gpu_egl_pss':'GPU EGL PSS','gpu_gl':'GPU GL','gpu_gl_pss':'GPU GL PSS','gpu_etc':'GPU Other','gpu_etc_pss':'GPU Other PSS',};UsedMemoryColumn.BYTE_STAT_MAP={'proportionalResident':'PSS','privateDirtyResident':'Private dirty','swapped':'Swapped'};function All...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)