Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for proto3 (0.07 sec)

  1. src/bytes/bytes_test.go

    	}
    
    	// 3. Rot13
    	m = Map(rot13, []byte("a to zed"))
    	expect = "n gb mrq"
    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 4. Rot13^2
    	m = Map(rot13, Map(rot13, []byte("a to zed")))
    	expect = "a to zed"
    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 5. Drop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/named.go

    	// underlying Interface), maybe it should just handle calling
    	// SetTypeParams, SetUnderlying, and AddMethod instead?  Those
    	// methods would need to support reentrant calls though. It would
    	// also make the API more future-proof towards further extensions.
    	if n.loader != nil {
    		assert(n.underlying == nil)
    		assert(n.TypeArgs().Len() == 0) // instances are created by instantiation, in which case n.loader is nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/edit.go

    	// downgrades. I really want to be able to prove that editRequirements
    	// terminates, and the easiest way to prove it is to add this map.
    	//
    	// Then the proof of termination is this:
    	// On every iteration where we mark the roots as dirty, we add some new module
    	// version to the map. The universe of module versions is finite, so we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/mergelocals_test.go

    	}
    	vars := make(map[string]string)
    	lines := strings.Split(string(out), "\n")
    	prolog := true
    	varsAtFrameOffset := make(map[string]int)
    	for _, line := range lines {
    		if line == "=-= stack layout for ABC:" {
    			prolog = false
    			continue
    		} else if prolog || line == "" {
    			continue
    		}
    		fields := strings.Fields(line)
    		wantFields := 9
    		if len(fields) != wantFields {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    		blockPrologComplete := func(v *Value) bool {
    			if b.ID != state.f.Entry.ID {
    				return !opcodeTable[v.Op].zeroWidth
    			} else {
    				return v.Op == OpInitMem
    			}
    		}
    
    		// Examine the prolog portion of the block to process special
    		// zero-width ops such as Arg, Phi, LoweredGetClosurePtr (etc)
    		// whose lifetimes begin at the block starting point. In an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. src/cmd/cover/cover.go

    	// Insert the registration sequence into the function. We want this sequence to
    	// appear before any counter updates, so use a hack to ensure that this edit
    	// applies before the edit corresponding to the prolog counter update.
    
    	boff := f.offset(body.Pos())
    	ipos := f.fset.File(body.Pos()).Pos(boff)
    	ip := f.offset(ipos)
    	f.edit.Replace(ip, ip+1, string(f.content[ipos-1])+regHook+" ; ")
    
    	f.fn.counterVar = ""
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/out.go

    // error if a Go file with a cgo comment #include's the export header
    // generated by a different package. Unfortunately GoString means two
    // different things: in this prolog it means a C name for the Go type,
    // while in the prolog written into the start of the C code generated
    // from a cgo-using Go file it means the C.GoString function. There is
    // no way to resolve this conflict, but it also doesn't make much
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
Back to top