Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Init1 (0.53 sec)

  1. test/init1.go

    	sys1, numGC1 := memstats.Sys, memstats.NumGC
    	if sys1-sys >= N*MB || numGC1 == numGC {
    		println("allocated 1000 chunks of", MB, "and used ", sys1-sys, "memory")
    		println("numGC went", numGC, "to", numGC1)
    		panic("init1")
    	}
    }
    
    func send(c chan int) {
    	c <- 1
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/init1.go

    // Copyright 2013 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.
    
    // initialization cycles
    
    package init1
    
    // issue 6683 (marked as WorkingAsIntended)
    
    type T0 struct{}
    
    func (T0) m() int { return y0 }
    
    var x0 = T0{}
    
    var y0 /* ERROR "initialization cycle" */ = x0.m()
    
    type T1 struct{}
    
    func (T1) m() int { return y1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/convert_session_initializer_to_function.mlir

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

    import (
    	"encoding/binary"
    	"hash"
    )
    
    // The size of a checksum in bytes.
    const Size = 32
    
    // The blocksize in bytes.
    const BlockSize = 64
    
    const (
    	chunk = 64
    	init0 = 0x6A09E667
    	init1 = 0xBB67AE85
    	init2 = 0x3C6EF372
    	init3 = 0xA54FF53A
    	init4 = 0x510E527F
    	init5 = 0x9B05688C
    	init6 = 0x1F83D9AB
    	init7 = 0x5BE0CD19
    )
    
    // digest represents the partial evaluation of a checksum.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  5. test/codegen/structs.go

    	// amd64:`.*runtime[.]gcWriteBarrier.*\(SB\)`
    	*t = Z2{}
    }
    
    // ------------------ //
    //    Initializing    //
    // ------------------ //
    
    type I1 struct {
    	a, b, c, d int
    }
    
    func Init1(p *I1) { // Issue #18872
    	// amd64:`MOVQ\t[$]1`,`MOVQ\t[$]2`,`MOVQ\t[$]3`,`MOVQ\t[$]4`
    	*p = I1{1, 2, 3, 4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 923 bytes
    - Viewed (0)
  6. src/crypto/md5/md5.go

    const BlockSize = 64
    
    const (
    	init0 = 0x67452301
    	init1 = 0xEFCDAB89
    	init2 = 0x98BADCFE
    	init3 = 0x10325476
    )
    
    // digest represents the partial evaluation of a checksum.
    type digest struct {
    	s   [4]uint32
    	x   [BlockSize]byte
    	nx  int
    	len uint64
    }
    
    func (d *digest) Reset() {
    	d.s[0] = init0
    	d.s[1] = init1
    	d.s[2] = init2
    	d.s[3] = init3
    	d.nx = 0
    	d.len = 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/testdata/exports.go

    // This file is used to generate an object file which
    // serves as test file for gcimporter_test.go.
    
    package exports
    
    import "go/ast"
    
    // Issue 3682: Correctly read dotted identifiers from export data.
    const init1 = 0
    
    func init() {}
    
    const (
    	C0  int     = 0
    	C1          = 3.14159265
    	C2          = 2.718281828i
    	C3          = -123.456e-789
    	C4          = +123.456e+789
    	C5          = 1234i
    	C6          = "foo\n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. src/crypto/sha1/sha1.go

    }
    
    // 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
    )
    
    // digest represents the partial evaluation of a checksum.
    type digest struct {
    	h   [5]uint32
    	x   [chunk]byte
    	nx  int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

        }
    
        def "each init script has independent ClassLoader"() {
            given:
            createExternalJar()
    
            and:
            TestFile initScript1 = file('init1.gradle')
            initScript1 << '''
    initscript {
        dependencies { classpath files('repo/test-1.3.jar') }
    }
    new org.gradle.test.BuildClass()
    '''
            TestFile initScript2 = file('init2.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/crypto/sha256/sha256.go

    const Size = 32
    
    // The size of a SHA224 checksum in bytes.
    const Size224 = 28
    
    // The blocksize of SHA256 and SHA224 in bytes.
    const BlockSize = 64
    
    const (
    	chunk     = 64
    	init0     = 0x6A09E667
    	init1     = 0xBB67AE85
    	init2     = 0x3C6EF372
    	init3     = 0xA54FF53A
    	init4     = 0x510E527F
    	init5     = 0x9B05688C
    	init6     = 0x1F83D9AB
    	init7     = 0x5BE0CD19
    	init0_224 = 0xC1059ED8
    	init1_224 = 0x367CD507
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top