Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for check_size (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.cc

      auto shape = type.getShape();
      int64_t chunk_size =
          std::accumulate(std::next(shape.begin(), quantization_dim_ + 1),
                          shape.end(), 1, std::multiplies<int64_t>());
      Type new_element_type =
          IntegerType::get(attr.getContext(), storage_bit_width_);
      return attr.mapValues(new_element_type, [&](const APFloat &old) {
        int chunk_index = flatten_index / chunk_size;
        flatten_index++;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
      }
    
      @Override
      public HashCode hashBytes(byte[] input, int off, int len) {
        checkPositionIndexes(off, off + len, input.length);
        int h1 = seed;
        int i;
        for (i = 0; i + CHUNK_SIZE <= len; i += CHUNK_SIZE) {
          int k1 = mixK1(getIntLittleEndian(input, off + i));
          h1 = mixH1(h1, k1);
        }
    
        int k1 = 0;
        for (int shift = 0; i < len; i++, shift += 8) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    ActiveCollection { public abstract String getRole(); public abstract boolean isEmpty(); public abstract boolean checkedIsEmpty() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract int size(); public abstract int checkedSize() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; } org/codehaus/plexus/collections/AbstractActiveList.class package org.codehaus.plexus.collections; public abstract synchronized class AbstractActiveList implements...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  10. docs/en/docs/reference/responses.md

                - headers
                - set_cookie
                - delete_cookie
    
    ## Starlette Responses
    
    ::: fastapi.responses.FileResponse
        options:
            members:
                - chunk_size
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top