Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 113 for initAt (0.12 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/libgo/libgo.go

    )
    
    import "C"
    
    var initCh = make(chan int, 1)
    var ranMain bool
    
    func init() {
    	// emulate an exceedingly slow package initialization function
    	time.Sleep(100 * time.Millisecond)
    	initCh <- 42
    }
    
    func main() { ranMain = true }
    
    //export DidInitRun
    func DidInitRun() bool {
    	select {
    	case x := <-initCh:
    		if x != 42 {
    			// Just in case initCh was not correctly made.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 977 bytes
    - Viewed (0)
  2. src/os/executable_path.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || openbsd
    
    package os
    
    // We query the working directory at init, to use it later to search for the
    // executable file
    // errWd will be checked later, if we need to use initWd
    var initWd, errWd = Getwd()
    
    func executable() (string, error) {
    	var exePath string
    	if len(Args) == 0 || Args[0] == "" {
    		return "", ErrNotExist
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/testdata/libgo/libgo.go

    	"time"
    )
    
    import "C"
    
    var initCh = make(chan int, 1)
    var ranMain bool
    
    func init() {
    	// emulate an exceedingly slow package initialization function
    	time.Sleep(100 * time.Millisecond)
    	initCh <- 42
    }
    
    func main() {
    	ranMain = true
    }
    
    //export DidInitRun
    func DidInitRun() bool {
    	select {
    	case x := <-initCh:
    		if x != 42 {
    			// Just in case initCh was not correctly made.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 767 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

                      .Input(inputs)
                      .Attr("ids", ids)
                      .Attr("calibration_methods", calibration_methods)
                      .Finalize(node_def()));
      ASSERT_THAT(InitOp(),
                  StatusIs(tsl::error::INVALID_ARGUMENT,
                           HasSubstr("NodeDef missing attr 'output_file_path'")));
    }
    
    TEST_F(CalibrationStatisticsSaverTest, WrongNumInputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. samples/bookinfo/src/mongodb/Dockerfile

    #   limitations under the License.
    
    FROM mongo:7.0.5
    WORKDIR /app/data/
    COPY ratings_data.json /app/data/
    COPY script.sh /docker-entrypoint-initdb.d/
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 756 bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubeapiserver/options/testdata/generate.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    cfssl gencert -initca root.csr.json | cfssljson -bare root
    
    cfssl gencert -initca intermediate.csr.json | cfssljson -bare intermediate
    cfssl sign -ca root.pem -ca-key root-key.pem -config intermediate.config.json intermediate.csr | cfssljson -bare intermediate
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 01 13:50:20 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/testdata/generate.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    cfssl gencert -initca root.csr.json | cfssljson -bare root
    
    cfssl gencert -initca intermediate.csr.json | cfssljson -bare intermediate
    cfssl sign -ca root.pem -ca-key root-key.pem -config intermediate.config.json intermediate.csr | cfssljson -bare intermediate
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 02:28:04 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/shared/init

    Michael Osipov <******@****.***> 1640036433 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Mar 05 22:52:54 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. src/internal/chacha8rand/chacha8.go

    }
    
    // Init seeds the State with the given seed value.
    func (s *State) Init(seed [32]byte) {
    	s.Init64([4]uint64{
    		byteorder.LeUint64(seed[0*8:]),
    		byteorder.LeUint64(seed[1*8:]),
    		byteorder.LeUint64(seed[2*8:]),
    		byteorder.LeUint64(seed[3*8:]),
    	})
    }
    
    // Init64 seeds the state with the given seed value.
    func (s *State) Init64(seed [4]uint64) {
    	s.seed = seed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:47:29 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top