Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for syslog (0.19 sec)

  1. src/time/sleep_test.go

    	// avoids using any other timers. In particular, the main goroutine uses
    	// doWork to spin for some durations because up through Go 1.15 if all
    	// threads are idle sysmon could leave deep sleep when we wake.
    
    	// Ensure sysmon is in deep sleep.
    	doWork(30 * Millisecond)
    
    	b.ResetTimer()
    
    	const delay = Millisecond
    	var wg sync.WaitGroup
    	var count int32
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/log/slog/value.go

    // Copyright 2022 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 slog
    
    import (
    	"fmt"
    	"math"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"time"
    	"unsafe"
    )
    
    // A Value can represent any Go value, but unlike type any,
    // it can represent most small values without an allocation.
    // The zero Value corresponds to nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/log/slog/handler_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // TODO: verify that the output of Marshal{Text,JSON} is suitably escaped.
    
    package slog
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"io"
    	"path/filepath"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestDefaultHandle(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. src/runtime/mstats.go

    		// * memstats.totalAlloc == totalAlloc
    		// * memstats.totalFree == totalFree
    		//
    		// Check if that's actually true.
    		//
    		// Prevent sysmon and the tracer from skewing the stats since they can
    		// act without synchronizing with a STW. See #64401.
    		lock(&sched.sysmonlock)
    		lock(&trace.lock)
    		if gcController.heapInUse.load() != uint64(consStats.inHeap) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		h.Preds[i] = Edge{test, 1}
    		headerMemPhi.SetArg(i, mem0)
    
    		test.Likely = BranchUnlikely
    
    		// sched:
    		//    mem1 := call resched (mem0)
    		//    goto header
    		resched := f.fe.Syslook("goschedguarded")
    		call := sched.NewValue1A(bb.Pos, OpStaticCall, types.TypeResultMem, StaticAuxCall(resched, bb.Func.ABIDefault.ABIAnalyzeTypes(nil, nil)), mem0)
    		mem1 := sched.NewValue1I(bb.Pos, OpSelectN, types.TypeMem, 0, call)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/s390x.s

    	VSTEH	$7, V31, (R2)           // e7f020007809
    	VSTEB	$15, V29, 4094(R12)     // e7d0cffef808
    	VMSLG	V21, V22, V23, V24      // e78563007fb8
    	VMSLEG  V21, V22, V23, V24      // e78563807fb8
    	VMSLOG  V21, V22, V23, V24      // e78563407fb8
    	VMSLEOG V21, V22, V23, V24      // e78563c07fb8
    	VSUMGH	V1, V2, V3              // e73120001065
    	VSUMGF	V16, V17, V18           // e72010002e65
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 03:55:32 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  7. src/runtime/trace.go

    	// the world and see an unpaired sweep 'end' event. Other parts of the tracer rely on this.
    	stw := stopTheWorld(stwStartTrace)
    
    	// Prevent sysmon from running any code that could generate events.
    	lock(&sched.sysmonlock)
    
    	// Grab the minimum page heap address. All Ps are stopped, so it's safe to read this since
    	// nothing can allocate heap memory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. src/runtime/gc_test.go

    			z []string
    		})
    		hugeSink = new(struct {
    			x float64
    			y [n]uintptr
    			z []string
    		})
    	}
    }
    
    func TestPeriodicGC(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("no sysmon on wasm yet")
    	}
    
    	// Make sure we're not in the middle of a GC.
    	runtime.GC()
    
    	var ms1, ms2 runtime.MemStats
    	runtime.ReadMemStats(&ms1)
    
    	// Make periodic GC run continuously.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/build.go

    	case ".f", ".F", ".for", ".f90":
    		return &p.FFiles
    	case ".s", ".S", ".sx":
    		return &p.SFiles
    	case ".swig":
    		return &p.SwigFiles
    	case ".swigcxx":
    		return &p.SwigCXXFiles
    	case ".syso":
    		return &p.SysoFiles
    	}
    	return nil
    }
    
    var errNoModules = errors.New("not using modules")
    
    func findImportComment(data []byte) (s string, line int) {
    	// expect keyword package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/amd64/versions_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // When using GOEXPERIMENT=boringcrypto, the test program links in the boringcrypto syso,
    // which does not respect GOAMD64, so we skip the test if boringcrypto is enabled.
    //go:build !boringcrypto
    
    package amd64_test
    
    import (
    	"bufio"
    	"debug/elf"
    	"debug/macho"
    	"errors"
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 10.9K bytes
    - Viewed (0)
Back to top