Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 888 for inits (0.08 sec)

  1. src/go/internal/gccgoimporter/parser.go

    		p.expect(';')
    		p.expect('\n')
    
    	case "priority":
    		p.next()
    		p.initdata.Priority = p.parseInt()
    		p.expectEOL()
    
    	case "init":
    		p.next()
    		for p.tok != '\n' && p.tok != ';' && p.tok != scanner.EOF {
    			p.initdata.Inits = append(p.initdata.Inits, p.parsePackageInit())
    		}
    		p.expectEOL()
    
    	case "init_graph":
    		p.next()
    		// The graph data is thrown away for now.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/crypto/sha1/sha1.go

    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    func init() {
    	crypto.RegisterHash(crypto.SHA1, New)
    }
    
    // The size of a SHA-1 checksum in bytes.
    const Size = 20
    
    // The blocksize of SHA-1 in bytes.
    const BlockSize = 64
    
    const (
    	chunk = 64
    	init0 = 0x67452301
    	init1 = 0xEFCDAB89
    	init2 = 0x98BADCFE
    	init3 = 0x10325476
    	init4 = 0xC3D2E1F0
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		// number of initializers must match
    		if len(info.InitOrder) != len(test.inits) {
    			t.Errorf("package %s: got %d initializers; want %d", name, len(info.InitOrder), len(test.inits))
    			continue
    		}
    
    		// initializers must match
    		for i, want := range test.inits {
    			got := info.InitOrder[i].String()
    			if got != want {
    				t.Errorf("package %s, init %d: got %s; want %s", name, i, got, want)
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/runtime/extern.go

    	error for each package with init work, summarizing the execution time and memory
    	allocation. No information is printed for inits executed as part of plugin loading
    	and for packages without both user defined and compiler generated init work.
    	The format of this line is subject to change. Currently, it is:
    		init # @#ms, # ms clock, # bytes, # allocs
    	where the fields are as follows:
    		init #      the package name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		// number of initializers must match
    		if len(info.InitOrder) != len(test.inits) {
    			t.Errorf("package %s: got %d initializers; want %d", name, len(info.InitOrder), len(test.inits))
    			continue
    		}
    
    		// initializers must match
    		for i, want := range test.inits {
    			got := info.InitOrder[i].String()
    			if got != want {
    				t.Errorf("package %s, init %d: got %s; want %s", name, i, got, want)
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/convert_session_initializer_to_function.mlir

    // CHECK: func @session_initializer
    // CHECK: call @init1
    // CHECK: call @init2
    // CHECK: call @init3
    module @multiple_initializers attributes {tf_saved_model.semantics} {
    "tf_saved_model.session_initializer"() {initializers = [@init1, @init2, @init3]} : () -> ()
    func.func @init1() attributes {tf_saved_model.exported_names = ["init1"]} {
      %0 = "tf.Const"() {value = dense<42> : tensor<1xi64>} : () -> tensor<1xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 02 16:24:00 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ir/fmt.go

    	const exportFormat = false
    
    	// some statements allow for an init, but at most one,
    	// but we may have an arbitrary number added, eg by typecheck
    	// and inlining. If it doesn't fit the syntax, emit an enclosing
    	// block starting with the init statements.
    
    	// if we can just say "for" n->ninit; ... then do so
    	simpleinit := len(n.Init()) == 1 && len(n.Init()[0].Init()) == 0 && StmtWithInit(n.Op())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  8. src/crypto/md5/md5.go

    import (
    	"crypto"
    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    func init() {
    	crypto.RegisterHash(crypto.MD5, New)
    }
    
    // The size of an MD5 checksum in bytes.
    const Size = 16
    
    // The blocksize of MD5 in bytes.
    const BlockSize = 64
    
    const (
    	init0 = 0x67452301
    	init1 = 0xEFCDAB89
    	init2 = 0x98BADCFE
    	init3 = 0x10325476
    )
    
    // digest represents the partial evaluation of a checksum.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. plugin/pkg/admission/alwayspullimages/admission_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    			InitContainers: []api.Container{
    				{Name: "init1", Image: "image"},
    				{Name: "init2", Image: "image", ImagePullPolicy: api.PullNever},
    				{Name: "init3", Image: "image", ImagePullPolicy: api.PullIfNotPresent},
    				{Name: "init4", Image: "image", ImagePullPolicy: api.PullAlways},
    			},
    			Containers: []api.Container{
    				{Name: "ctr1", Image: "image"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  10. test/init1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that goroutines and garbage collection run during init.
    
    package main
    
    import "runtime"
    
    var x []byte
    
    func init() {
    	c := make(chan int)
    	go send(c)
    	<-c
    
    	const N = 1000
    	const MB = 1 << 20
    	b := make([]byte, MB)
    	for i := range b {
    		b[i] = byte(i%10 + '0')
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
Back to top