Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 177 for zero (4.01 sec)

  1. src/runtime/malloc.go

    // this way:
    //
    //	1. Stack frame allocation can avoid zeroing altogether.
    //
    //	2. It exhibits better temporal locality, since the program is
    //	   probably about to write to the memory.
    //
    //	3. We don't zero pages that never get reused.
    
    // Virtual memory layout
    //
    // The heap consists of a set of arenas, which are 64MB on 64-bit and
    // 4MB on 32-bit (heapArenaBytes). Each arena's start address is also
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/net/http/request.go

    		// to explicitly say that the ContentLength is zero is
    		// to set the Body to nil. But turns out too much code
    		// depends on NewRequest returning a non-nil Body,
    		// so we use a well-known ReadCloser variable instead
    		// and have the http package also treat that sentinel
    		// variable to mean explicitly zero.
    		if req.GetBody != nil && req.ContentLength == 0 {
    			req.Body = NoBody
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

        assertPowerSetHashCode(1 << 31, sumToQuarterMaxIntElements);
      }
    
      public void testPowerSetShowOff() {
        Set<Object> zero = ImmutableSet.of();
        Set<Set<Object>> one = powerSet(zero);
        Set<Set<Set<Object>>> two = powerSet(one);
        Set<Set<Set<Set<Object>>>> four = powerSet(two);
        Set<Set<Set<Set<Set<Object>>>>> sixteen = powerSet(four);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

            ArrayRef<Value>({leading_dim, element_shape}));
    
        // Create a zero-initialized constant tensor that has the same type
        // as specified by element_dtype.
        RankedTensorType zero_type =
            tensorflow::GetTypeFromTFTensorShape({}, element_dtype);
        auto zero_attr = rewriter.getZeroAttr(zero_type);
        auto zero = rewriter.create<arith::ConstantOp>(loc, zero_type, zero_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	// Addr represents a bluetooth address, byte ordering is little-endian.
    	Addr [6]uint8
    
    	// Channel is a designated bluetooth channel, only 1-30 are available for use.
    	// Since Linux 2.6.7 and further zero value is the first available channel.
    	Channel uint8
    
    	raw RawSockaddrRFCOMM
    }
    
    func (sa *SockaddrRFCOMM) sockaddr() (unsafe.Pointer, _Socklen, error) {
    	sa.raw.Family = AF_BLUETOOTH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // UTF16PtrToString takes a pointer to a UTF-16 sequence and returns the corresponding UTF-8 encoded string.
    // If the pointer is nil, it returns the empty string. It assumes that the UTF-16 sequence is terminated
    // at a zero word; if the zero word is not present, the program may crash.
    func UTF16PtrToString(p *uint16) string {
    	if p == nil {
    		return ""
    	}
    	if *p == 0 {
    		return ""
    	}
    
    	// Find NUL terminator.
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. src/encoding/xml/marshal_test.go

    	},
    	{
    		Value:         &NameInField{Name{Space: "ns", Local: "foo"}},
    		ExpectXML:     `<NameInField><foo xmlns="ns"><ignore></ignore></foo></NameInField>`,
    		UnmarshalOnly: true,
    	},
    
    	// Marshaling zero xml.Name uses the tag or field name.
    	{
    		Value:       &NameInField{},
    		ExpectXML:   `<NameInField><foo xmlns="ns"></foo></NameInField>`,
    		MarshalOnly: true,
    	},
    
    	// Test attributes
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    			fmt.Fprintf(&b, "\t%s,\n", n.C)
    		} else {
    			fmt.Fprintf(&b, "\t0,\n")
    		}
    	}
    	// for the last entry, we cannot use 0, otherwise
    	// in case all __cgodebug_data is zero initialized,
    	// LLVM-based gcc will place the it in the __DATA.__common
    	// zero-filled section (our debug/macho doesn't support
    	// this)
    	fmt.Fprintf(&b, "\t1\n")
    	fmt.Fprintf(&b, "};\n")
    
    	// do the same work for floats.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// The duration in seconds before the object should be deleted. Value must be non-negative integer.
    	// The value zero indicates delete immediately. If this value is nil, the default grace period for the
    	// specified type will be used.
    	// Defaults to a per object value if not specified. zero means delete immediately.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	counter.Add(1) // account for main activity of the goroutine running this test
    	ctx1 := context.Background()
    	pZero := func() *int32 { var zero int32; return &zero }
    	// counts of calls to the QueueNoteFns
    	queueNoteCounts := map[int]map[bool]*int32{
    		1: {false: pZero(), true: pZero()},
    		2: {false: pZero(), true: pZero()},
    	}
    	queueNoteFn := func(fn int) func(inQueue bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
Back to top