- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 795 for inits (0.13 sec)
-
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) -
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) -
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) -
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) -
src/internal/types/testdata/check/init0.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 init0 // initialization cycles (we don't know the types) const ( s0 /* ERROR "initialization cycle: s0 refers to itself" */ = s0 x0 /* ERROR "initialization cycle for x0" */ = y0 y0 = x0 a0 = b0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 2.2K bytes - Viewed (0) -
src/internal/types/testdata/check/init2.go
// Copyright 2014 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 init2 // cycles through functions func f1() int { _ = x1; return 0 } var x1 /* ERROR "initialization cycle" */ = f1 func f2() int { _ = x2; return 0 } var x2 /* ERROR "initialization cycle" */ = f2() // cycles through method expressions
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/go/internal/workcmd/init.go
// go work init package workcmd import ( "context" "path/filepath" "cmd/go/internal/base" "cmd/go/internal/fsys" "cmd/go/internal/gover" "cmd/go/internal/modload" "golang.org/x/mod/modfile" ) var cmdInit = &base.Command{ UsageLine: "go work init [moddirs]", Short: "initialize workspace file", Long: `Init initializes and writes a new go.work file in the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 1.6K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/snippets/initScripts/plugins/groovy/init.gradle
// tag::init-script-plugin[] apply plugin: EnterpriseRepositoryPlugin class EnterpriseRepositoryPlugin implements Plugin<Gradle> { private static String ENTERPRISE_REPOSITORY_URL = "https://repo.gradle.org/gradle/repo" void apply(Gradle gradle) { // ONLY USE ENTERPRISE REPO FOR DEPENDENCIES gradle.allprojects { project -> project.repositories {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
bin/init.sh
# limitations under the License. # Init script downloads or updates envoy and the go dependencies. Called from Makefile, which sets # the needed environment variables. set -o errexit set -o nounset set -o pipefail if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly." exit 1 fi
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 19:11:31 UTC 2024 - 6.1K bytes - Viewed (0)