HomeSort by relevance Sort by last modified time
    Searched defs:Slice (Results 1 - 25 of 164) sorted by null

1 2 3 4 5 6 7

  /prebuilts/go/darwin-x86/src/sort/
slice.go 11 // Slice sorts the provided slice given the provided less function.
16 // The function panics if the provided interface is not a slice.
17 func Slice(slice interface{}, less func(i, j int) bool) {
18 rv := reflect.ValueOf(slice)
19 swap := reflect.Swapper(slice)
24 // SliceStable sorts the provided slice given the provided less
27 // The function panics if the provided interface is not a slice.
28 func SliceStable(slice interface{}, less func(i, j int) bool)
    [all...]
  /prebuilts/go/linux-x86/src/sort/
slice.go 11 // Slice sorts the provided slice given the provided less function.
16 // The function panics if the provided interface is not a slice.
17 func Slice(slice interface{}, less func(i, j int) bool) {
18 rv := reflect.ValueOf(slice)
19 swap := reflect.Swapper(slice)
24 // SliceStable sorts the provided slice given the provided less
27 // The function panics if the provided interface is not a slice.
28 func SliceStable(slice interface{}, less func(i, j int) bool)
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue5515.go 16 rs := Slice(b)
20 type Slice []T
22 func (s Slice) Swap(i, j int) {
  /prebuilts/go/linux-x86/test/fixedbugs/
issue5515.go 16 rs := Slice(b)
20 type Slice []T
22 func (s Slice) Swap(i, j int) {
  /external/tensorflow/tensorflow/core/kernels/
slice_op.h 28 struct Slice {
44 To32Bit(output).device(d) = To32Bit(input).slice(indices, sizes);
46 output.device(d) = input.slice(slice_indices, slice_sizes);
  /prebuilts/go/darwin-x86/test/
named1.go 19 type Slice []byte
21 var slice Slice var
61 asString(String(slice)) // ok
named.go 18 type Slice []byte
29 func asSlice(Slice) {}
44 func isSlice(x interface{}) { _ = x.(Slice) }
55 slice Slice = make(Slice, 10)
237 asSlice(slice)
238 isSlice(slice)
239 asSlice(make(Slice, 5))
240 isSlice(make(Slice, 5)
    [all...]
  /prebuilts/go/linux-x86/test/
named1.go 19 type Slice []byte
21 var slice Slice var
61 asString(String(slice)) // ok
named.go 18 type Slice []byte
29 func asSlice(Slice) {}
44 func isSlice(x interface{}) { _ = x.(Slice) }
55 slice Slice = make(Slice, 10)
237 asSlice(slice)
238 isSlice(slice)
239 asSlice(make(Slice, 5))
240 isSlice(make(Slice, 5)
    [all...]
  /external/perfetto/include/perfetto/tracing/core/
slice.h 33 struct Slice {
34 Slice() : start(nullptr), size(0) {}
35 Slice(const void* st, size_t sz) : start(st), size(sz) {}
38 explicit Slice(std::unique_ptr<std::string> str)
41 Slice(Slice&& other) noexcept = default;
43 // Create a Slice which owns |size| bytes of memory.
44 static Slice Allocate(size_t size) {
45 Slice slice; local
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/asm/internal/lex/
slice.go 13 // A Slice reads from a slice of Tokens.
14 type Slice struct {
21 func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
22 return &Slice{
30 func (s *Slice) Next() ScanToken {
38 func (s *Slice) Text() string {
42 func (s *Slice) File() string {
46 func (s *Slice) Base() *src.PosBase {
50 func (s *Slice) SetBase(base *src.PosBase)
    [all...]
  /prebuilts/go/linux-x86/src/cmd/asm/internal/lex/
slice.go 13 // A Slice reads from a slice of Tokens.
14 type Slice struct {
21 func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
22 return &Slice{
30 func (s *Slice) Next() ScanToken {
38 func (s *Slice) Text() string {
42 func (s *Slice) File() string {
46 func (s *Slice) Base() *src.PosBase {
50 func (s *Slice) SetBase(base *src.PosBase)
    [all...]
  /external/sfntly/cpp/src/sfntly/data/
writable_font_data.cc 169 CALLER_ATTACH FontData* WritableFontData::Slice(int32_t offset,
180 FontDataPtr slice = new WritableFontData(this, offset, length); local
181 return slice.Detach();
184 CALLER_ATTACH FontData* WritableFontData::Slice(int32_t offset) {
192 FontDataPtr slice = new WritableFontData(this, offset); local
193 return slice.Detach();
readable_font_data.cc 314 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset,
325 FontDataPtr slice = new ReadableFontData(this, offset, length); local
326 return slice.Detach();
329 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset) {
337 FontDataPtr slice = new ReadableFontData(this, offset); local
338 return slice.Detach();
  /external/webrtc/webrtc/common_audio/
channel_buffer.h 103 // Sets the |slice| pointers to the |start_frame| position for each channel.
104 // Returns |slice| for convenience.
105 const T* const* Slice(T** slice, size_t start_frame) const {
108 slice[i] = &channels_[i][start_frame];
109 return slice;
111 T** Slice(T** slice, size_t start_frame) {
113 return const_cast<T**>(t->Slice(slice, start_frame))
    [all...]
  /frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/
MessagingV1Impl.java 17 package androidx.slice.builders.impl;
19 import static android.app.slice.Slice.SUBTYPE_MESSAGE;
26 import androidx.slice.Slice;
27 import androidx.slice.SliceSpec;
37 public MessagingV1Impl(Slice.Builder b, SliceSpec spec) {
51 public void apply(Slice.Builder builder) {
78 android.app.slice.Slice.SUBTYPE_SOURCE)
    [all...]
  /system/netd/libnetdutils/include/netdutils/
Slice.h 31 // Slice represents memory as a half-closed interval [base, limit).
33 // Note that without manually invoking the Slice() constructor, it is
34 // impossible to increase the size of a slice. This guarantees that
35 // applications that properly use the slice API will never access
36 // memory outside of a slice.
38 // Note that const Slice still wraps mutable memory, however copy
39 // assignment and move assignment to slice are disabled.
40 class Slice {
42 Slice() = default;
44 // Create a slice beginning at base and continuing to but not including limi
    [all...]
  /build/kati/
eval.go 90 func (ac *accessCache) Slice() []*accessedMakefile {
723 accessedMks: ev.cache.Slice(),
  /prebuilts/go/darwin-x86/src/net/rpc/jsonrpc/
all_test.go 66 func (BuiltinTypes) Slice(i int, reply *[]int) error {
222 // Slice
224 err = client.Call("BuiltinTypes.Slice", arg, &replySlice)
226 t.Errorf("Slice: expected no error but got string %q", err.Error())
229 t.Errorf("Slice: expected %v got %v", e, replySlice)
  /prebuilts/go/linux-x86/src/net/rpc/jsonrpc/
all_test.go 66 func (BuiltinTypes) Slice(i int, reply *[]int) error {
222 // Slice
224 err = client.Call("BuiltinTypes.Slice", arg, &replySlice)
226 t.Errorf("Slice: expected no error but got string %q", err.Error())
229 t.Errorf("Slice: expected %v got %v", e, replySlice)
  /external/llvm/lib/Transforms/Scalar/
SROA.cpp 114 /// \brief A used slice of an alloca.
116 /// This structure represents a slice of an alloca used by some instruction. It
120 class Slice {
127 /// \brief Storage for both the use of this slice and whether it can be
132 Slice() : BeginOffset(), EndOffset() {}
133 Slice(uint64_t BeginOffset, uint64_t EndOffset, Use *U, bool IsSplittable)
154 bool operator<(const Slice &RHS) const {
167 friend LLVM_ATTRIBUTE_UNUSED bool operator<(const Slice &LHS,
172 const Slice &RHS) {
176 bool operator==(const Slice &RHS) const
    [all...]
  /external/tensorflow/tensorflow/core/kernels/data/
shuffle_dataset_op.cc 76 slices_.emplace_back(new Slice{0, 0});
116 slices_.emplace_back(new Slice{n, n});
141 // slice, and then remove the element from the slice.
239 slices_.emplace_back(new Slice{start, end});
264 struct Slice {
265 Slice(int64 start, int64 end) : start(start), end(end) {}
293 std::deque<std::unique_ptr<Slice>> slices_ GUARDED_BY(mu_);
  /frameworks/support/slices/core/src/androidTest/java/androidx/slice/
SliceTest.java 17 package androidx.slice;
19 import static android.app.slice.Slice.HINT_LARGE;
20 import static android.app.slice.Slice.HINT_LIST;
21 import static android.app.slice.Slice.HINT_NO_TINT;
22 import static android.app.slice.Slice.HINT_TITLE;
23 import static android.app.slice.SliceItem.FORMAT_ACTION
    [all...]
  /frameworks/support/slices/core/src/main/java/androidx/slice/
Slice.java 17 package androidx.slice;
19 import static android.app.slice.Slice.HINT_ACTIONS;
20 import static android.app.slice.Slice.HINT_HORIZONTAL;
21 import static android.app.slice.Slice.HINT_LARGE;
22 import static android.app.slice.Slice.HINT_LIST;
23 import static android.app.slice.Slice.HINT_LIST_ITEM
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/python/
local_computation_builder.cc 363 ComputationDataHandle LocalComputationBuilder::Slice(
368 return builder_.Slice(operand, start_indices, limit_indices, strides);

Completed in 768 milliseconds

1 2 3 4 5 6 7