Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for check_size (0.28 sec)

  1. tensorflow/c/kernels/bitcast_op.cc

        kernel->in_size = TF_DataTypeSize(kernel->input_data_type);
        kernel->out_size = TF_DataTypeSize(kernel->output_data_type);
    
        size_t check_size = std::max(kernel->in_size, kernel->out_size) %
                            std::min(kernel->in_size, kernel->out_size);
        if (check_size != 0) {
          std::ostringstream err;
          err << "cannot convert between datatype " << kernel->input_data_type
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/build-goboring.sh

    # Also collect list of checked symbols in syms.txt
    set -e
    cd /boring/godriver
    cat >goboringcrypto.cc <<'EOF'
    #include <cassert>
    #include "goboringcrypto0.h"
    #include "goboringcrypto1.h"
    #define check_size(t) if(sizeof(t) != sizeof(GO_ ## t)) {printf("sizeof(" #t ")=%d, but sizeof(GO_" #t ")=%d\n", (int)sizeof(t), (int)sizeof(GO_ ## t)); ret=1;}
    #define check_func(f) { auto x = f; x = _goboringcrypto_ ## f ; }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/size.go

    // is needed immediately.  CheckSize makes sure the
    // size is evaluated eventually.
    
    var deferredTypeStack []*Type
    
    func CheckSize(t *Type) {
    	if t == nil {
    		return
    	}
    
    	// function arg structs should not be checked
    	// outside of the enclosing function.
    	if t.IsFuncArgStruct() {
    		base.Fatalf("CheckSize %v", t)
    	}
    
    	if defercalc == 0 {
    		CalcSize(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. samples/security/spire/istio-spire-config.yaml

                          env:
                            - name: CHECK_FILE
                              value: /run/secrets/workload-spiffe-uds/socket
                          command:
                            - sh
                            - "-c"
                            - |-
                              echo `date -Iseconds` Waiting for: ${CHECK_FILE}
                              while [[ ! -e ${CHECK_FILE} ]] ; do
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 22:08:56 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

        private static final int CHUNK_SIZE = 16;
        private static final long C1 = 0x87c37b91114253d5L;
        private static final long C2 = 0x4cf5ad432745937fL;
        private long h1;
        private long h2;
        private int length;
    
        Murmur3_128Hasher(int seed) {
          super(CHUNK_SIZE);
          this.h1 = seed;
          this.h2 = seed;
          this.length = 0;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    go run check_file/main.go $GOCACHE/fuzz/FuzzCovMin ab
    
    -- go.mod --
    module test
    
    -- covmin_test.go --
    package covmin
    
    import "testing"
    
    func FuzzCovMin(f *testing.F) {
    	f.Add([]byte("aa"))
    	f.Fuzz(func(t *testing.T, data []byte) {
    		if len(data) == 2 && data[0] == 'a' && data[1] == 'b' {
    			return
    		}
    	})
    }
    
    -- check_file/main.go --
    package main
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. src/io/ioutil/ioutil_test.go

    // license that can be found in the LICENSE file.
    
    package ioutil_test
    
    import (
    	"bytes"
    	. "io/ioutil"
    	"os"
    	"path/filepath"
    	"runtime"
    	"testing"
    )
    
    func checkSize(t *testing.T, path string, size int64) {
    	dir, err := os.Stat(path)
    	if err != nil {
    		t.Fatalf("Stat %q (looking for size %d): %s", path, size, err)
    	}
    	if dir.Size() != size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

        private static final int CHUNK_SIZE = 16;
        private static final long C1 = 0x87c37b91114253d5L;
        private static final long C2 = 0x4cf5ad432745937fL;
        private long h1;
        private long h2;
        private int length;
    
        Murmur3_128Hasher(int seed) {
          super(CHUNK_SIZE);
          this.h1 = seed;
          this.h2 = seed;
          this.length = 0;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/universe.go

    	Types[TINTER] = NewInterface(nil)
    	CheckSize(Types[TINTER])
    
    	defBasic := func(kind Kind, pkg *Pkg, name string) *Type {
    		typ := newType(kind)
    		obj := defTypeName(pkg.Lookup(name), typ)
    		typ.obj = obj
    		if kind != TANY {
    			CheckSize(typ)
    		}
    		return typ
    	}
    
    	for _, s := range &basicTypes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/SipHashFunction.java

        private long finalM = 0;
    
        SipHasher(int c, int d, long k0, long k1) {
          super(CHUNK_SIZE);
          this.c = c;
          this.d = d;
          this.v0 ^= k0;
          this.v1 ^= k1;
          this.v2 ^= k0;
          this.v3 ^= k1;
        }
    
        @Override
        protected void process(ByteBuffer buffer) {
          b += CHUNK_SIZE;
          processM(buffer.getLong());
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
Back to top