Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for Rbrace (0.11 sec)

  1. src/cmd/compile/internal/types2/expr.go

    // parameterized type or function value.
    func (check *Checker) rawExpr(T *target, x *operand, e syntax.Expr, hint Type, allowGeneric bool) exprKind {
    	if check.conf.Trace {
    		check.trace(e.Pos(), "-- expr %s", e)
    		check.indent++
    		defer func() {
    			check.indent--
    			check.trace(e.Pos(), "=> %s", x)
    		}()
    	}
    
    	kind := check.exprInternal(T, x, e, hint)
    
    	if !allowGeneric {
    		check.nonGeneric(T, x)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  2. pkg/config/security/security_test.go

    			values:    []string{"/{*}/foo/{temp"},
    			wantError: true,
    		},
    		{
    			name:      "unsupported path template - matchOneTemplate with unmatched closed curly brace",
    			values:    []string{"/{*}/foo/temp}/bar"},
    			wantError: true,
    		},
    		{
    			name:      "unsupported path template - matchOneTemplate with unmatched closed curly brace and `*`",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/internal/trace/internal/testgen/go122/trace.go

    	"os"
    	"regexp"
    	"strings"
    
    	"internal/trace"
    	"internal/trace/event"
    	"internal/trace/event/go122"
    	"internal/trace/raw"
    	"internal/trace/version"
    	"internal/txtar"
    )
    
    func Main(f func(*Trace)) {
    	// Create an output file.
    	out, err := os.Create(os.Args[1])
    	if err != nil {
    		panic(err.Error())
    	}
    	defer out.Close()
    
    	// Create a new trace.
    	trace := NewTrace()
    
    	// Call the generator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/runtime/trace.go

    		buf.link = trace.empty
    		trace.empty = buf
    		trace.reading = nil
    	}
    	// Write trace header.
    	if !trace.headerWritten {
    		trace.headerWritten = true
    		unlock(&trace.lock)
    		return []byte("go 1.23 trace\x00\x00\x00"), false
    	}
    
    	// Read the next buffer.
    
    	if trace.readerGen.Load() == 0 {
    		trace.readerGen.Store(1)
    	}
    	var gen uintptr
    	for {
    		assertLockHeld(&trace.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. internal/grid/trace.go

    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    		trace.Path += typed.Values().Encode()
    	case *NoPayload, *Bytes:
    		trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/testing/testing_test.go

    			t.Run("subsub1", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				c1 <- true
    			})
    			t.Run("subsub2", func(t *testing.T) {
    				t.Parallel()
    				doRace()
    				<-c1
    			})
    		})
    		doRace()
    		return
    	}
    
    	out := runTest(t, "TestRaceSubReports")
    
    	// There should be three race reports: one for each subtest, and one for the
    	// race after the subtests complete. Note that because the subtests run in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. src/runtime/race.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build race
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // Public race detection API, present iff build with -race.
    
    func RaceRead(addr unsafe.Pointer)
    func RaceWrite(addr unsafe.Pointer)
    func RaceReadRange(addr unsafe.Pointer, len int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/universe.go

    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    // DefPredeclaredTestFuncs defines the assert and trace built-ins.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/go/types/universe.go

    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    // DefPredeclaredTestFuncs defines the assert and trace built-ins.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/go/types/generate_test.go

    	"slice.go":         nil,
    	"subst.go":         func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
    	"termlist.go":      nil,
    	"termlist_test.go": nil,
    	"tuple.go":         nil,
    	"typelists.go":     nil,
    	"typeset.go":       func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
    	"typeparam.go":     nil,
    	"typeterm_test.go": nil,
    	"typeterm.go":      nil,
    	"typestring.go":    nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top