Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 215 for livable (0.16 sec)

  1. src/cmd/link/internal/ld/testdata/deadcode/structof_funcof.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Methods of reflect.rtype use StructOf and FuncOf which in turn depend on
    // reflect.Value.Method. StructOf and FuncOf must not disable the DCE.
    
    package main
    
    import "reflect"
    
    type S int
    
    func (s S) M() { println("S.M") }
    
    func (s S) N() { println("S.N") }
    
    type T float64
    
    func (t T) F(s S) {}
    
    func useStructOf() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:07:26 UTC 2023
    - 994 bytes
    - Viewed (0)
  2. src/net/http/transport.go

    			if h2i, ok := v.Interface().(h2Transport); ok {
    				t.h2transport = h2i
    				return
    			}
    		}
    	}
    
    	if t.TLSNextProto != nil {
    		// This is the documented way to disable http2 on a
    		// Transport.
    		return
    	}
    	if !t.ForceAttemptHTTP2 && (t.TLSClientConfig != nil || t.Dial != nil || t.DialContext != nil || t.hasCustomTLSDialer()) {
    		// Be conservative and don't automatically enable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprog/badtraceback.go

    package main
    
    import (
    	"runtime"
    	"runtime/debug"
    	"unsafe"
    )
    
    func init() {
    	register("BadTraceback", BadTraceback)
    }
    
    func BadTraceback() {
    	// Disable GC to prevent traceback at unexpected time.
    	debug.SetGCPercent(-1)
    	// Out of an abundance of caution, also make sure that there are
    	// no GCs actively in progress.
    	runtime.GC()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 23:02:28 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    	}
    
    	return true, fusedSize
    }
    
    type padJumpsCtx int32
    
    func makePjcCtx(ctxt *obj.Link) padJumpsCtx {
    	// Disable jump padding on 32 bit builds by setting
    	// padJumps to 0.
    	if ctxt.Arch.Family == sys.I386 {
    		return padJumpsCtx(0)
    	}
    
    	// Disable jump padding for hand written assembly code.
    	if ctxt.IsAsm {
    		return padJumpsCtx(0)
    	}
    
    	return padJumpsCtx(32)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    C compiler (typically gcc or clang) cannot be found on the system PATH.
    You can override the default by setting the CGO_ENABLED
    environment variable when running the go tool: set it to 1 to enable
    the use of cgo, and to 0 to disable it. The go tool will set the
    build constraint "cgo" if cgo is enabled. The special import "C"
    implies the "cgo" build constraint, as though the file also said
    "//go:build cgo".  Therefore, if cgo is disabled, files that import
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. src/syscall/syscall_windows.go

    	var buf [MAX_PATH + 1]uint16
    	path, err := fdpath(fd, buf[:])
    	if err != nil {
    		return err
    	}
    	// When using VOLUME_NAME_DOS, the path is always prefixed by "\\?\".
    	// That prefix tells the Windows APIs to disable all string parsing and to send
    	// the string that follows it straight to the file system.
    	// Although SetCurrentDirectory and GetCurrentDirectory do support the "\\?\" prefix,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  7. src/runtime/export_test.go

    			return
    		}
    	}
    	hint.next = nil
    }
    
    // MapNextArenaHint reserves a page at the next arena growth hint,
    // preventing the arena from growing there, and returns the range of
    // addresses that are no longer viable.
    //
    // This may fail to reserve memory. If it fails, it still returns the
    // address range it attempted to reserve.
    func MapNextArenaHint() (start, end uintptr, ok bool) {
    	hint := mheap_.arenaHints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/asm0.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package mips
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		c = append(c,
    			"-ferror-limit=0",
    			// Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
    			// doesn't have -Wno-unneeded-internal-declaration, so we need yet another
    			// flag to disable the warning. Yes, really good diagnostics, clang.
    			"-Wno-unknown-warning-option",
    			"-Wno-unneeded-internal-declaration",
    			"-Wno-unused-function",
    			"-Qunused-arguments",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/net/http/pprof/testdata/delta_mutex.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"net/http"
    	"net/http/pprof"
    	"net/http/httptest"
    	"runtime"
    )
    
    func main() {
    	// Disable the mutex profiler. This is the default, but that default is
    	// load-bearing for this test, which needs the base profile to be empty.
    	runtime.SetMutexProfileFraction(0)
    
    	h := pprof.Handler("mutex")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top