Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 863 for elim (0.04 sec)

  1. src/reflect/set_test.go

    type notASTExpr interface {
    	Pos() token.Pos
    	End() token.Pos
    	exprNode()
    }
    
    func TestImplements(t *testing.T) {
    	for _, tt := range implementsTests {
    		xv := TypeOf(tt.x).Elem()
    		xt := TypeOf(tt.t).Elem()
    		if b := xv.Implements(xt); b != tt.b {
    			t.Errorf("(%s).Implements(%s) = %v, want %v", xv.String(), xt.String(), b, tt.b)
    		}
    	}
    }
    
    var assignableTests = []struct {
    	x any
    	t any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 13:56:11 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

          // uncheckedCastNullableTToT is safe because bufferSize > 0.
          if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) {
            threshold = elem;
          }
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
        } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) {
          // Otherwise, we can ignore elem; we've seen k better elements.
          buffer[bufferSize++] = elem;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      // CHECK-NEXT: %[[ELEM:.*]] = "tf.Reshape"(%[[SLICE]], %[[ELEM_SHAPE]]) : (tensor<1xf32>, tensor<0xi32>) -> tensor<f32>
      %get = "tf.TensorListGetItem"(%tl, %arg0, %elem_shape) : (tensor<!tf_type.variant<tensor<f32>>>, tensor<i32>, tensor<0xi32>) -> tensor<f32>
      // CHECK-NEXT: return %[[ELEM]] : tensor<f32>
      func.return %get: tensor<f32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  4. test/fixedbugs/issue35073a.go

    package main
    
    import (
    	"reflect"
    	"unsafe"
    )
    
    func main() {
    	n := 10
    	m := make(map[string]string)
    
    	_ = unsafe.Pointer(reflect.ValueOf(&n).Elem().UnsafeAddr())
    	_ = unsafe.Pointer(reflect.ValueOf(&m).Elem().Pointer())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:12:49 UTC 2023
    - 497 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/compare.go

    				and(notCond)
    			}
    		}
    	} else {
    		step := int64(1)
    		remains := t.NumElem() * t.Elem().Size()
    		combine64bit := unalignedLoad && types.RegSize == 8 && t.Elem().Size() <= 4 && t.Elem().IsInteger()
    		combine32bit := unalignedLoad && t.Elem().Size() <= 2 && t.Elem().IsInteger()
    		combine16bit := unalignedLoad && t.Elem().Size() == 1 && t.Elem().IsInteger()
    		for i := int64(0); remains > 0; {
    			var convType *types.Type
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. src/html/template/context.go

    	case stateJSDqStr, stateJSSqStr, stateJSTmplLit, stateJSRegexp:
    		return true
    	}
    	return false
    }
    
    // delim is the delimiter that will end the current HTML attribute.
    type delim uint8
    
    //go:generate stringer -type delim
    
    const (
    	// delimNone occurs outside any attribute.
    	delimNone delim = iota
    	// delimDoubleQuote occurs when a double quote (") closes the attribute.
    	delimDoubleQuote
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. src/runtime/checkptr.go

    import "unsafe"
    
    func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {
    	// nil pointer is always suitably aligned (#47430).
    	if p == nil {
    		return
    	}
    
    	// Check that (*[n]elem)(p) is appropriately aligned.
    	// Note that we allow unaligned pointers if the types they point to contain
    	// no pointers themselves. See issue 37298.
    	// TODO(mdempsky): What about fieldAlign?
    	if elem.Pointers() && uintptr(p)&(uintptr(elem.Align_)-1) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/runtime/map.go

    	p := mapassign(t, h, key)
    	typedmemmove(t.Elem, p, elem)
    }
    
    //go:linkname reflect_mapassign_faststr reflect.mapassign_faststr0
    func reflect_mapassign_faststr(t *maptype, h *hmap, key string, elem unsafe.Pointer) {
    	p := mapassign_faststr(t, h, key)
    	typedmemmove(t.Elem, p, elem)
    }
    
    //go:linkname reflect_mapdelete reflect.mapdelete
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. src/encoding/gob/decode.go

    	elemIsPtr := mtyp.Elem().Kind() == reflect.Pointer
    	keyInstr := &decInstr{keyOp, 0, nil, ovfl}
    	elemInstr := &decInstr{elemOp, 0, nil, ovfl}
    	keyP := reflect.New(mtyp.Key())
    	elemP := reflect.New(mtyp.Elem())
    	for i := 0; i < n; i++ {
    		key := decodeIntoValue(state, keyOp, keyIsPtr, keyP.Elem(), keyInstr)
    		elem := decodeIntoValue(state, elemOp, elemIsPtr, elemP.Elem(), elemInstr)
    		value.SetMapIndex(key, elem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go

    		return
    	}
    
    	if rl.Cur == rlimInf32 {
    		rlim.Cur = rlimInf64
    	} else {
    		rlim.Cur = uint64(rl.Cur)
    	}
    
    	if rl.Max == rlimInf32 {
    		rlim.Max = rlimInf64
    	} else {
    		rlim.Max = uint64(rl.Max)
    	}
    	return
    }
    
    func (r *PtraceRegs) PC() uint32 { return r.Nip }
    
    func (r *PtraceRegs) SetPC(pc uint32) { r.Nip = pc }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top