Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,709 for size0 (0.08 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go

    	s := &sizer{}
    	if err := b.e.Encode(e, s); err != nil {
    		return 0, err
    	}
    	return s.Size, nil
    }
    
    func (b *backend) String() string {
    	return fmt.Sprintf("%s<%s>", PluginName, b.delegateBackend)
    }
    
    type sizer struct {
    	Size int64
    }
    
    func (s *sizer) Write(p []byte) (n int, err error) {
    	s.Size += int64(len(p))
    	return len(p), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

        explicit MemSpec(int op_index = 0, SizeT size = 0)
            : op_index(op_index), size(size) {}
      };
    
      static bool BySize(const MemSpec& a, const MemSpec& b) {
        return std::tie(a.size, a.op_index) < std::tie(b.size, b.op_index);
      }
    
      static bool ByOpIndex(const MemSpec& a, const MemSpec& b) {
        return std::tie(a.op_index, a.size) < std::tie(b.op_index, b.size);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. hack/e2e-internal/e2e-cluster-size.sh

    xichengliudui <******@****.***> 1550548203 -0500
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 19 03:50:03 UTC 2019
    - 987 bytes
    - Viewed (0)
  4. src/unicode/utf8/utf8_test.go

    		}
    		si += size1
    	}
    	j--
    	for si = len(s); si > 0; {
    		r1, size1 := DecodeLastRune(b[0:si])
    		r2, size2 := DecodeLastRuneInString(s[0:si])
    		if size1 != size2 {
    			t.Errorf("DecodeLastRune/DecodeLastRuneInString(%q, %d) size mismatch %d/%d", s, si, size1, size2)
    			return
    		}
    		if r1 != index[j].r {
    			t.Errorf("DecodeLastRune(%q, %d) = %#04x, want %#04x", s, si, r1, index[j].r)
    			return
    		}
    		if r2 != index[j].r {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 06:17:15 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  5. src/runtime/syscall_windows.go

    		// So basically we only support 386.
    		panic("compileCallback: float arguments not supported")
    	}
    
    	if t.Size_ == 0 {
    		// The Go ABI aligns for zero-sized types.
    		p.dstStackSize = alignUp(p.dstStackSize, uintptr(t.Align_))
    		return
    	}
    
    	// In the C ABI, we're already on a word boundary.
    	// Also, sub-word-sized fastcall register arguments
    	// are stored to the least-significant bytes of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/go/types/gcsizes.go

    		offsets := s.Offsetsof(t.fields)
    		offs := offsets[n-1]
    		size := s.Sizeof(t.fields[n-1].typ)
    		if offs < 0 || size < 0 {
    			return -1 // type too large
    		}
    		// gc: The last field of a non-zero-sized struct is not allowed to
    		// have size 0.
    		if offs > 0 && size == 0 {
    			size = 1
    		}
    		// gc: Size includes alignment padding.
    		return align(offs+size, s.Alignof(t)) // may overflow to < 0 which is ok
    	case *Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. pkg/ctrlz/assets/templates/layouts/base.html

            <link rel="icon" type="image/png" href="/favicons/favicon-16x16.png" sizes="16x16">
            <link rel="icon" type="image/png" href="/favicons/favicon-32x32.png" sizes="32x32">
            <link rel="icon" type="image/png" href="/favicons/android-36x36.png" sizes="36x36">
            <link rel="icon" type="image/png" href="/favicons/android-48x48.png" sizes="48x48">
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/runtime/string.go

    	}
    	var dum [4]byte
    	size1 := 0
    	for _, r := range a {
    		size1 += encoderune(dum[:], r)
    	}
    	s, b := rawstringtmp(buf, size1+3)
    	size2 := 0
    	for _, r := range a {
    		// check for race
    		if size2 >= size1 {
    			break
    		}
    		size2 += encoderune(b[size2:], r)
    	}
    	return s[:size2]
    }
    
    type stringStruct struct {
    	str unsafe.Pointer
    	len int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/runtime/cgocheck.go

    		for i := uintptr(0); i < at.Len; i++ {
    			if off < at.Elem.Size_ {
    				cgoCheckUsingType(at.Elem, src, off, size)
    			}
    			src = add(src, at.Elem.Size_)
    			skipped := off
    			if skipped > at.Elem.Size_ {
    				skipped = at.Elem.Size_
    			}
    			checked := at.Elem.Size_ - skipped
    			off -= skipped
    			if size <= checked {
    				return
    			}
    			size -= checked
    		}
    	case abi.Struct:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/reflect/type.go

    			lastzero = size
    		}
    
    		fs[i] = f
    	}
    
    	if size > 0 && lastzero == size {
    		// This is a non-zero sized struct that ends in a
    		// zero-sized field. We add an extra byte of padding,
    		// to ensure that taking the address of the final
    		// zero-sized field can't manufacture a pointer to the
    		// next object in the heap. See issue 9401.
    		size++
    		if size == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top