HomeSort by relevance Sort by last modified time
    Searched refs:SIZE (Results 101 - 125 of 986) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/jsr166-tests/src/test/java/jsr166/
AtomicReferenceArrayTest.java 29 * constructor creates array of given size with all elements null
32 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(SIZE);
33 for (int i = 0; i < SIZE; i++) {
50 * constructor with array is of same size and has all elements
79 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(SIZE);
80 for (int index : new int[] { -1, SIZE }) {
108 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE);
109 for (int i = 0; i < SIZE; i++) {
123 AtomicReferenceArray aa = new AtomicReferenceArray(SIZE);
124 for (int i = 0; i < SIZE; i++)
    [all...]
TreeSubSetTest.java 38 * Returns a new set of given size containing consecutive
53 assertEquals(n, s.size());
71 assertEquals(5, s.size());
84 assertEquals(5, s.size());
104 assertEquals(0, set0().size());
122 * size changes when elements added and removed
125 NavigableSet q = populatedSet(SIZE);
126 for (int i = 0; i < SIZE; ++i) {
127 assertEquals(SIZE - i, q.size());
    [all...]
ConcurrentSkipListSubSetTest.java 37 * Returns a new set of given size containing consecutive
53 assertEquals(n, s.size());
71 assertEquals(5, s.size());
87 assertEquals(5, s.size());
107 assertEquals(0, set0().size());
125 * size changes when elements added and removed
128 NavigableSet q = populatedSet(SIZE);
129 for (int i = 0; i < SIZE; ++i) {
130 assertEquals(SIZE - i, q.size());
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicDoubleArrayTest.java 57 * constructor creates array of given size with all elements zero
60 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
61 for (int i = 0; i < SIZE; i++) {
78 * constructor with array is of same size and has all elements
89 * constructor with empty array has size 0 and contains no elements
101 * constructor with length zero has size 0 and contains no elements
116 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
117 for (int index : new int[] { -1, SIZE }) {
181 AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
182 for (int i : new int[] { 0, SIZE - 1})
    [all...]
  /developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
ImageContract.kt 38 val SIZE = "size"
42 val PROJECTION_ALL = arrayOf(BaseColumns._ID, Columns.DISPLAY_NAME, Columns.ABSOLUTE_PATH, Columns.SIZE)
  /developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
ImageContract.kt 38 val SIZE = "size"
42 val PROJECTION_ALL = arrayOf(BaseColumns._ID, Columns.DISPLAY_NAME, Columns.ABSOLUTE_PATH, Columns.SIZE)
  /external/bison/lib/
xsize.h 35 /* The size of memory objects is often computed through expressions of
47 size_t size = xsum (header_size, xtimes (n, element_size));
48 void *p = (size_in_bounds_p (size) ? malloc (size) : NULL);
98 /* Multiplication of a count with an element size, with overflow check.
99 The count must be >= 0 and the element size must be > 0.
106 #define size_overflow_p(SIZE) \
107 ((SIZE) == SIZE_MAX)
109 #define size_in_bounds_p(SIZE) \
110 ((SIZE) != SIZE_MAX
    [all...]
isnan.c 48 # define SIZE SIZEOF_LDBL
60 # define SIZE SIZEOF_DBL
72 # define SIZE SIZEOF_FLT
149 return (memcmp (&m.value, &plus_inf, SIZE) != 0
150 && memcmp (&m.value, &minus_inf, SIZE) != 0);
165 memset (&m1.value, 0, SIZE);
166 memset (&m2.value, 0, SIZE);
169 if (memcmp (&m1.value, &m2.value, SIZE) != 0)
  /external/e2fsprogs/intl/
xsize.h 32 /* The size of memory objects is often computed through expressions of
44 size_t size = xsum (header_size, xtimes (n, element_size));
45 void *p = (size_in_bounds_p (size) ? malloc (size) : NULL);
95 /* Multiplication of a count with an element size, with overflow check.
96 The count must be >= 0 and the element size must be > 0.
103 #define size_overflow_p(SIZE) \
104 ((SIZE) == SIZE_MAX)
106 #define size_in_bounds_p(SIZE) \
107 ((SIZE) != SIZE_MAX
    [all...]
  /external/eigen/bench/
bench_sum.cpp 9 Vec v(SIZE);
sparse_setter.cpp 6 #ifndef SIZE
7 #define SIZE 100000
63 int rows = SIZE;
64 int cols = SIZE;
77 // DynamicSparseMatrix<int> stencil(SIZE,SIZE);
93 int i = internal::random<int>(0,pool.size());
107 std::cout << "nnz = " << coords.size() << "\n";
197 SparseMatrix<Scalar> mat(SIZE,SIZE);
    [all...]
  /external/ltp/testcases/kernel/mem/shmt/
shmt05.c 54 #define SIZE (2*SHMLBA)
73 if ((shmid = shmget(key[0], SIZE, IPC_CREAT | 0666)) < 0) {
91 if ((shmid1 = shmget(key[1], SIZE, IPC_CREAT | 0666)) < 0) {
97 cp1 = shmat(shmid1, cp + (SIZE / 2), 0);
  /external/okhttp/okio/okio/src/test/java/okio/
RealBufferedSinkTest.java 46 bufferedSink.writeUtf8(repeat('a', Segment.SIZE - 1));
47 assertEquals(0, sink.size());
49 assertEquals(Segment.SIZE, sink.size());
50 assertEquals(0, bufferedSink.buffer().size());
56 bufferedSink.writeUtf8(repeat('a', Segment.SIZE * 4 - 1));
57 assertEquals(Segment.SIZE * 3, sink.size());
58 assertEquals(Segment.SIZE - 1, bufferedSink.buffer().size());
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
quad-tex.c 119 #define SIZE 16
123 ubyte tex2d[SIZE][SIZE][4];
126 #if (SIZE != 2)
127 for (s = 0; s < SIZE; s++) {
128 for (t = 0; t < SIZE; t++) {
138 tex2d[t][s][0] = s*255/(SIZE-1);
139 tex2d[t][s][1] = t*255/(SIZE-1);
167 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
    [all...]
tex-srgb.c 148 #define SIZE 64
149 ubyte tex2d[SIZE][SIZE][4];
152 for (s = 0; s < SIZE; s++) {
153 for (t = 0; t < SIZE; t++) {
155 tex2d[t][s][1] = s * 255 / SIZE;
156 tex2d[t][s][2] = t * 255 / SIZE;
161 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
202 #undef SIZE
    [all...]
tex-swizzle.c 122 #define SIZE 256
124 ubyte tex2d[SIZE][SIZE][4];
127 for (s = 0; s < SIZE; s++) {
128 for (t = 0; t < SIZE; t++) {
136 texture = graw_util_create_tex2d(&info, SIZE, SIZE,
158 #undef SIZE
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue102/
BigDataLoadTest.java 29 private static final int SIZE = 5000;
33 List<?> loaded = (List<?>) yaml.load(getLongYamlDocument(SIZE));
34 assertEquals(SIZE, loaded.size());
39 StringReader buffer = new StringReader(getLongYamlDocument(SIZE));
41 assertEquals(SIZE, loaded.size());
44 private String getLongYamlDocument(int size) {
48 for (int i = 0; i < size; i++) {
72 System.out.println("Long data size: " + data.length() / 1024 + " kBytes.")
    [all...]
  /frameworks/av/services/audioflinger/
BufLog.h 44 * Maximum size of the file (in bytes) to be output.
47 * buff_size: int Size (in bytes) of the current audio buffer to be stored.
81 #define __BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \
83 BUF, SIZE)
85 #define BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \
88 #define BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \
89 __BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE)
125 // size: number of bytes to write
126 size_t write(const void *buf, size_t size);
166 // Maximum size of the file (in bytes) to be output
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioPatch.cpp 42 const size_t SIZE = 256;
43 char buffer[SIZE];
46 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1);
48 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle);
50 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle);
52 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid);
54 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources);
60 snprintf(buffer, SIZE, "%*s- Device ID %d %s\n", spaces + 2, "",
64 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "",
69 snprintf(buffer, SIZE, "%*s- %d sinks:\n", spaces, "", mPatch.num_sinks)
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
CallbackRegistry.java 100 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits);
113 * Notify up to the first Long.SIZE callbacks that don't have a bit set in <code>removed</code>.
123 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size());
129 * This part captures the callbacks beyond Long.SIZE that have no bits allocated for
143 final int callbackCount = mCallbacks.size();
152 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE;
175 final int startIndex = (remainderIndex + 1) * Long.SIZE;
176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE);
    [all...]
  /frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
CallbackRegistry.java 98 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits);
111 * Notify up to the first Long.SIZE callbacks that don't have a bit set in <code>removed</code>.
121 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size());
127 * This part captures the callbacks beyond Long.SIZE that have no bits allocated for
140 final int callbackCount = mCallbacks.size();
149 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE;
172 final int startIndex = (remainderIndex + 1) * Long.SIZE;
173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE);
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
small_structs.rs 24 // under 64 bytes in size.
72 #define CHAR_ARRAY_TEST(SIZE) \
73 typedef struct char_array_##SIZE { char bytes[SIZE]; } \
74 char_array_##SIZE; \
76 char_array_##SIZE RS_KERNEL \
77 modify_char_array_##SIZE(char_array_##SIZE in) { \
78 for (int i = 0; i < SIZE; ++i) { \
84 void verify_char_array_##SIZE(rs_allocation alloc) {
    [all...]
  /external/llvm/test/MC/ELF/
relocation.s 45 .quad blah@SIZE # R_X86_64_SIZE64
46 .quad blah@SIZE + 32 # R_X86_64_SIZE64
47 .quad blah@SIZE - 32 # R_X86_64_SIZE64
48 movl blah@SIZE, %eax # R_X86_64_SIZE32
49 movl blah@SIZE + 32, %eax # R_X86_64_SIZE32
50 movl blah@SIZE - 32, %eax # R_X86_64_SIZE32
  /hardware/libhardware_legacy/audio/
AudioHardwareGeneric.cpp 168 const size_t SIZE = 256;
169 char buffer[SIZE];
172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false");
174 ::write(fd, result.string(), result.size());
247 const size_t SIZE = 256;
248 char buffer[SIZE];
250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n");
252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
254 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize())
    [all...]
  /frameworks/compile/mclinker/include/mcld/Target/
GOT.h 33 template <size_t SIZE>
36 enum { EntrySize = SIZE };
49 size_t size() const { return EntrySize; } function in class:mcld::GOT::Entry
60 uint64_t size() const { return m_Section.size(); } function in class:mcld::GOT
69 // finalizeSectionSize - set LDSection size

Completed in 1573 milliseconds

1 2 3 45 6 7 8 91011>>