Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for in_size (0.26 sec)

  1. tensorflow/c/kernels/bitcast_op.cc

                                            s);
      }
    
      if (TF_GetCode(s) == TF_OK) {
        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;
    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/main/java/jcifs/smb1/util/MimeMap.java

        public MimeMap() throws IOException {
            int n;
    
            in = new byte[IN_SIZE];
            InputStream is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/util/mime.map" );
    
            inLen = 0;
            while(( n = is.read( in, inLen, IN_SIZE - inLen )) != -1 ) {
                inLen += n;
            }
            if( inLen < 100 || inLen == IN_SIZE ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  3. src/math/const.go

    )
    
    // Integer limit values.
    const (
    	intSize = 32 << (^uint(0) >> 63) // 32 or 64
    
    	MaxInt    = 1<<(intSize-1) - 1  // MaxInt32 or MaxInt64 depending on intSize.
    	MinInt    = -1 << (intSize - 1) // MinInt32 or MinInt64 depending on intSize.
    	MaxInt8   = 1<<7 - 1            // 127
    	MinInt8   = -1 << 7             // -128
    	MaxInt16  = 1<<15 - 1           // 32767
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. cmd/batch-handlers_gen.go

    func (z *batchJobInfo) Msgsize() (s int) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types_gen.go

    	s = 1 + 8
    	if z.Disable == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.BoolSize
    	}
    	s += 6
    	if z.Batch == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.IntSize
    	}
    	s += 9
    	if z.InMemory == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.BoolSize
    	}
    	s += 9
    	if z.Compress == nil {
    		s += msgp.NilSize
    	} else {
    		s += msgp.BoolSize
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  6. test/fixedbugs/issue21887.go

    // license that can be found in the LICENSE file.
    
    // Issue 21887: println(^uint(0)) fails to compile
    
    package main
    
    import "strconv"
    
    func main() {
    	if strconv.IntSize == 32 {
    		println(^uint(0))
    	} else {
    		println(^uint32(0))
    	}
    
    	if strconv.IntSize == 64 {
    		println(^uint(0))
    	} else {
    		println(^uint64(0))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 435 bytes
    - Viewed (0)
  7. test/fixedbugs/issue16016.go

    	if runtime.Compiler == "gccgo" {
    		// On targets without split-stack libgo allocates
    		// a large stack for each goroutine. On 32-bit
    		// systems this test can run out of memory.
    		const intSize = 32 << (^uint(0) >> 63) // 32 or 64
    		if intSize < 64 {
    			count = 100
    		}
    	}
    
    	var q Q = &R{&T{}}
    	for i := 0; i < count; i++ {
    		go func() {
    			defer q.Foo([]interface{}{"meow"})
    			time.Sleep(100 * time.Millisecond)
    		}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:39:06 UTC 2024
    - 877 bytes
    - Viewed (0)
  8. src/strconv/atoi.go

    func bitSizeError(fn, str string, bitSize int) *NumError {
    	return &NumError{fn, stringslite.Clone(str), errors.New("invalid bit size " + Itoa(bitSize))}
    }
    
    const intSize = 32 << (^uint(0) >> 63)
    
    // IntSize is the size in bits of an int or uint value.
    const IntSize = intSize
    
    const maxUint64 = 1<<64 - 1
    
    // ParseUint is like [ParseInt] but for unsigned numbers.
    //
    // A sign prefix is not permitted.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/image/png/paeth.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package png
    
    // intSize is either 32 or 64.
    const intSize = 32 << (^uint(0) >> 63)
    
    func abs(x int) int {
    	// m := -1 if x < 0. m := 0 otherwise.
    	m := x >> (intSize - 1)
    
    	// In two's complement representation, the negative number
    	// of any number (except the smallest one) can be computed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    		cc = append(cc, newComponent(suffix+"_len", asmKind(arch.intSize), "slice len", off+arch.ptrSize, arch.intSize, suffix))
    		cc = append(cc, newComponent(suffix+"_cap", asmKind(arch.intSize), "slice cap", off+arch.ptrSize+arch.intSize, arch.intSize, suffix))
    
    	case asmString:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top