Home
last modified time | relevance | path

Searched refs:slice (Results 351 - 375 of 2465) sorted by relevance

1...<<11121314151617181920>>...99

/kernel/linux/linux-6.6/drivers/misc/cxl/
H A Dfile.c28 #define CXL_AFU_MINOR_D(afu) (CXL_CARD_MINOR(afu->adapter) + 1 + (3 * afu->slice))
49 int slice = CXL_DEVT_AFU(inode->i_rdev); in __afu_open() local
52 pr_devel("afu_open afu%i.%i\n", slice, adapter_num); in __afu_open()
57 if (slice > adapter->slices) in __afu_open()
61 if (!(afu = adapter->afu[slice])) { in __afu_open()
297 afuid.afu_offset = ctx->afu->slice; in afu_ioctl_get_afu_id()
579 "afu%i.%i%s", afu->adapter->adapter_num, afu->slice, postfix); in cxl_add_chardev()
/third_party/python/Lib/test/
H A Dseq_tests.py165 self.assertRaises(ValueError, u.__getitem__, slice(0,10,0))
343 self.assertEqual(a.__getitem__(slice(0,1)), self.type2test([10]))
344 self.assertEqual(a.__getitem__(slice(1,2)), self.type2test([11]))
345 self.assertEqual(a.__getitem__(slice(0,2)), self.type2test([10, 11]))
346 self.assertEqual(a.__getitem__(slice(0,3)), self.type2test([10, 11]))
347 self.assertEqual(a.__getitem__(slice(3,5)), self.type2test([]))
348 self.assertRaises(ValueError, a.__getitem__, slice(0, 10, 0))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DStringRef.h699 StringRef slice(size_t Start, size_t End) const {
720 return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
738 return std::make_pair(slice(0, Idx), slice(Idx + Separator.size(), npos));
791 return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.c38 intel_sseu_get_hsw_subslices(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_get_hsw_subslices() argument
41 if (WARN_ON(slice >= sseu->max_slices)) in intel_sseu_get_hsw_subslices()
44 return sseu->subslice_mask.hsw[slice]; in intel_sseu_get_hsw_subslices()
47 static u16 sseu_get_eus(const struct sseu_dev_info *sseu, int slice, in sseu_get_eus() argument
51 WARN_ON(slice > 0); in sseu_get_eus()
54 return sseu->eu_mask.hsw[slice][subslice]; in sseu_get_eus()
58 static void sseu_set_eus(struct sseu_dev_info *sseu, int slice, int subslice, in sseu_set_eus() argument
63 GEM_WARN_ON(slice > 0); in sseu_set_eus()
66 sseu->eu_mask.hsw[slice][subslice] = eu_mask; in sseu_set_eus()
226 * The concept of slice ha in xehp_sseu_info_init()
[all...]
/third_party/mesa3d/src/amd/addrlib/src/r800/
H A Degbaddrlib.cpp634 // Compute the size of a slice. in ComputeSurfaceInfoMacroTiled()
1099 // Compute the size of a slice. in ComputeSurfaceMipLevelTileMode()
1237 UINT_32* pBytesPerTile ///< [in,out] pointer to bytes per slice in HwlDegradeThickTileMode()
1301 * Compute surface address from given coord (x, y, slice,sample)
1314 UINT_32 slice = pIn->slice;
1363 slice,
1375 slice,
1414 slice,
1583 UINT_32 slice, ///< [i
[all...]
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/
H A Dip27-irq.c257 int slice = LOCAL_HUB_L(PI_CPU_NUM); in install_ipi() local
260 resched = CPU_RESCHED_A_IRQ + slice; in install_ipi()
264 call = CPU_CALL_A_IRQ + slice; in install_ipi()
268 if (slice == 0) { in install_ipi()
/kernel/linux/linux-6.6/arch/mips/sgi-ip27/
H A Dip27-irq.c254 int slice = LOCAL_HUB_L(PI_CPU_NUM); in install_ipi() local
257 resched = CPU_RESCHED_A_IRQ + slice; in install_ipi()
261 call = CPU_CALL_A_IRQ + slice; in install_ipi()
265 if (slice == 0) { in install_ipi()
/kernel/linux/linux-5.10/fs/efs/
H A Dsuper.c161 int pt_type, slice = -1; in efs_validate_vh() local
218 slice = i; in efs_validate_vh()
222 if (slice == -1) { in efs_validate_vh()
226 pr_info("using slice %d (type %s, offset 0x%x)\n", slice, in efs_validate_vh()
/kernel/linux/linux-6.6/fs/efs/
H A Dsuper.c161 int pt_type, slice = -1; in efs_validate_vh() local
218 slice = i; in efs_validate_vh()
222 if (slice == -1) { in efs_validate_vh()
226 pr_info("using slice %d (type %s, offset 0x%x)\n", slice, in efs_validate_vh()
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/
H A Dhelp.js446 const leadingStr = str.slice(0, indent);
447 const columnText = str.slice(indent);
453 if (line.slice(-1) === '\n') {
454 line = line.slice(0, line.length - 1);
/third_party/node/benchmark/
H A Dcommon.js22 this.name = require.main.filename.slice(__dirname.length + 1);
30 const argv = process.argv.slice(2);
294 return `${str.slice(0, decimalPointIndex)}.${str.slice(decimalPointIndex)}`;
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
H A DIndexSubTableFormat4.java137 return new Builder(data.slice(indexSubTableOffset, length), firstGlyphIndex, lastGlyphIndex); in createBuilder()
143 return new Builder(data.slice(indexSubTableOffset, length), firstGlyphIndex, lastGlyphIndex); in createBuilder()
331 size += this.internalReadData().slice(Offset.indexSubTable4_numGlyphs.offset).copyTo( in subSerialize()
332 newData.slice(Offset.indexSubTable4_numGlyphs.offset)); in subSerialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DBinaryByteStream.h45 Buffer = Data.slice(Offset, Size);
53 Buffer = Data.slice(Offset);
153 Buffer = makeArrayRef(Data).slice(Offset, Size);
166 Buffer = makeArrayRef(Data).slice(Offset);
/third_party/mesa3d/src/mesa/main/
H A Dtexstore.c986 GLuint dims, slice, numSlices = 1, sliceOffset = 0; in store_texsubimage() local
1014 /* compute slice info (and do some sanity checks) */ in store_texsubimage()
1021 /* one image slice, nothing special needs to be done */ in store_texsubimage()
1068 for (slice = 0; slice < numSlices; slice++) { in store_texsubimage()
1073 slice + sliceOffset, in store_texsubimage()
1077 /* Note: we're only storing a 2D (or 1D) slice at a time but we need in store_texsubimage()
1088 st_UnmapTextureImage(ctx, texImage, slice + sliceOffset); in store_texsubimage()
1338 GLint i, slice; in _mesa_store_compressed_texsubimage() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DStorageTextureTests.cpp312 textureLoad = "textureLoad(storageImage0, vec2<i32>(x, y), i32(slice))"; in CommonReadOnlyTestCode()
316 textureLoad = "textureLoad(storageImage0, vec3<i32>(x, y, slice))"; in CommonReadOnlyTestCode()
329 ostream << " for (var slice : i32 = 0; slice < sliceCount; slice = slice + 1) {\n"; in CommonReadOnlyTestCode()
363 textureStore = "textureStore(storageImage0, vec2<i32>(x, y), slice, expected)"; in CommonWriteOnlyTestCode()
367 textureStore = "textureStore(storageImage0, vec3<i32>(x, y, slice), expected)"; in CommonWriteOnlyTestCode()
386 ostream << " for (var slice : i32 = 0; slice < sliceCoun in CommonWriteOnlyTestCode()
461 const uint32_t slice = i / (kWidth * kHeight); GetExpectedData() local
[all...]
/third_party/node/lib/internal/crypto/
H A Daes.js174 const slice = ArrayBufferIsView(data) ?
176 tag = slice(data, -tagByteLength);
188 data = slice(data, 0, -tagByteLength);
/third_party/node/deps/npm/node_modules/diff/lib/patch/
H A Dcreate.js23 function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
97 curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];
179 contextLines(lines.slice(0, contextSize))));
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.c194 struct fdl_slice *slice = fd_resource_slice(rsc, lvl); in fd3_sampler_view_create() local
200 A3XX_TEX_CONST_3_LAYERSZ1(slice->size0); in fd3_sampler_view_create()
204 A3XX_TEX_CONST_3_LAYERSZ1(slice->size0); in fd3_sampler_view_create()
/third_party/rust/crates/clap/src/util/
H A Dflat_map.rs117 pub fn keys(&self) -> std::slice::Iter<'_, K> { in keys()
185 keys: std::slice::Iter<'a, K>,
186 values: std::slice::Iter<'a, V>,
221 keys: std::slice::IterMut<'a, K>,
222 values: std::slice::IterMut<'a, V>,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h205 return makeArrayRef(MDs).slice(NumModuleMDs, NumMDStrings); in getMDStrings()
210 return makeArrayRef(MDs).slice(NumModuleMDs).slice(NumMDStrings); in getNonMDStrings()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DDebugLocStream.h113 .slice(Lists[LI].EntryOffset, getNumEntries(LI)); in getEntries()
119 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes()
124 .slice(Entries[EI].CommentOffset, getNumComments(EI)); in getComments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
H A DIRMutator.cpp116 auto InstsBefore = makeArrayRef(Insts).slice(0, IP); in mutate()
117 auto InstsAfter = makeArrayRef(Insts).slice(IP); in mutate()
130 for (const auto &Pred : makeArrayRef(OpDesc->SourcePreds).slice(1)) in mutate()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
H A DCompositeGlyph.java144 return this.data.slice(this.instructionsOffset, this.instructionSize()); in instructions()
171 super(data.slice(offset, length)); in CompositeGlyphBuilder()
175 super(data.slice(offset, length)); in CompositeGlyphBuilder()
H A DSimpleGlyph.java195 return this.data.slice(this.instructionsOffset, this.instructionSize()); in instructions()
237 super(data.slice(offset, length)); in SimpleGlyphBuilder()
241 super(data.slice(offset, length)); in SimpleGlyphBuilder()
/third_party/typescript/tests/baselines/reference/
H A DsourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js85 _20 = robotB[0], numberB = _20 === void 0 ? -1 : _20, robotAInfo = robotB.slice(1);
86 _21 = getRobotB(), _22 = _21[0], numberB = _22 === void 0 ? -1 : _22, robotAInfo = _21.slice(1);
87 _23 = [2, "trimmer", "trimming"], _24 = _23[0], numberB = _24 === void 0 ? -1 : _24, robotAInfo = _23.slice(1);

Completed in 31 milliseconds

1...<<11121314151617181920>>...99