Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 155 for iota (0.09 sec)

  1. src/crypto/x509/name_constraints_test.go

    	for i, test := range nameConstraintsTests {
    		t.Run(fmt.Sprintf("#%d", i), func(t *testing.T) {
    			rootPool := NewCertPool()
    			rootKey := privateKeys.Get().(*ecdsa.PrivateKey)
    			rootName := "Root " + strconv.Itoa(i)
    
    			// keys keeps track of all the private keys used in a given
    			// test and puts them back in the privateKeys pool at the end.
    			keys := []*ecdsa.PrivateKey{rootKey}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. src/go/types/typestring.go

    			w.byte(')')
    		}
    
    	case *Named:
    		// If hashing, write a unique prefix for t to represent its identity, since
    		// named type identity is pointer identity.
    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    		w.typeName(t.obj) // when hashing written for readability of the hash only
    		if t.inst != nil {
    			// instantiated type
    			w.typeList(t.inst.targs.list())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/cover/cover.go

    	//   counterVar[0] = <num_units>
    	//   counterVar[1] = pkgId
    	//   counterVar[2] = fnId
    	//
    	cv := f.fn.counterVar
    	regHook := hookWrite(cv, 0, strconv.Itoa(len(f.fn.units))) + " ; " +
    		hookWrite(cv, 1, mkPackageIdExpression()) + " ; " +
    		hookWrite(cv, 2, strconv.Itoa(int(funcId))) + singleCtr
    
    	// Insert the registration sequence into the function. We want this sequence to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/rsa.go

    		}) == 0 {
    			return nil, fail("RSA_sign_raw")
    		}
    		return out[:outLen], nil
    	}
    
    	md := cryptoHashToMD(h)
    	if md == nil {
    		return nil, errors.New("crypto/rsa: unsupported hash function: " + strconv.Itoa(int(h)))
    	}
    	nid := C._goboringcrypto_EVP_MD_type(md)
    	var out []byte
    	var outLen C.uint
    	if priv.withKey(func(key *C.GO_RSA) C.int {
    		out = make([]byte, C._goboringcrypto_RSA_size(key))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 23:38:03 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. test/typeparam/list2.go

    	checkList(&l2, []interface{}{2})
    }
    
    // Test the Transform function.
    func TestTransform() {
    	l1 := _New[int]()
    	l1.PushBack(1)
    	l1.PushBack(2)
    	l2 := _Transform(l1, strconv.Itoa)
    	checkList(l2, []interface{}{"1", "2"})
    }
    
    func main() {
    	TestList()
    	TestExtending()
    	TestRemove()
    	TestIssue4103()
    	TestIssue6349()
    	TestMove()
    	TestZeroList()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typestring.go

    			w.byte(')')
    		}
    
    	case *Named:
    		// If hashing, write a unique prefix for t to represent its identity, since
    		// named type identity is pointer identity.
    		if w.ctxt != nil {
    			w.string(strconv.Itoa(w.ctxt.getID(t)))
    		}
    		w.typeName(t.obj) // when hashing written for readability of the hash only
    		if t.inst != nil {
    			// instantiated type
    			w.typeList(t.inst.targs.list())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/runtime/export_test.go

    		// These are all interruptible, they just encode a nonstandard
    		// way of recovering when interrupted.
    		return false
    	default:
    		var buf [20]byte
    		panic("invalid unsafe point code " + string(itoa(buf[:], uint64(v))))
    	}
    }
    
    type TraceMap struct {
    	traceMap
    }
    
    func (m *TraceMap) PutString(s string) (uint64, bool) {
    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/go/token/position.go

    //	-                   invalid position without file name
    func (pos Position) String() string {
    	s := pos.Filename
    	if pos.IsValid() {
    		if s != "" {
    			s += ":"
    		}
    		s += strconv.Itoa(pos.Line)
    		if pos.Column != 0 {
    			s += fmt.Sprintf(":%d", pos.Column)
    		}
    	}
    	if s == "" {
    		s = "-"
    	}
    	return s
    }
    
    // Pos is a compact encoding of a source position within a file set.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. src/os/exec/exec_test.go

    // package monkey-patches those variables before running tests).
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	pid := os.Getpid()
    	if os.Getenv("GO_EXEC_TEST_PID") == "" {
    		os.Setenv("GO_EXEC_TEST_PID", strconv.Itoa(pid))
    
    		if runtime.GOOS == "windows" {
    			// Normalize environment so that test behavior is consistent.
    			// (The behavior of LookPath varies depending on this variable.)
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. src/syscall/exec_plan9.go

    		if n == fd {
    			return
    		}
    	}
    	RawSyscall(SYS_CLOSE, uintptr(n), 0, 0)
    }
    
    func cexecPipe(p []int) error {
    	e := Pipe(p)
    	if e != nil {
    		return e
    	}
    
    	fd, e := Open("#d/"+itoa.Itoa(p[1]), O_RDWR|O_CLOEXEC)
    	if e != nil {
    		Close(p[0])
    		Close(p[1])
    		return e
    	}
    
    	Close(p[1])
    	p[1] = fd
    	return nil
    }
    
    type envItem struct {
    	name   *byte
    	value  *byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top