Questions tagged [segments]

segments are divisible parts of something usually associated:

  • in programing with memory segmentation (memory pages, or array/table/file division)
  • in Graphics with polyline/polygon parts or any visual division of objects (like hatching,grids,...)
  • in HW architectures,linkers,compilers with separate memory/code areas for program,data,stack...
138 questions
4
votes
1 answer

Width of the overlapped segment in GenomicRanges package

I'm using GenomicRanges to find which transcripts from one experiment overlap with those coming from other one. head(to_ranges1) knowngene chr strand Start Gene 1 uc001aaa.3 chr1 + 9873 16409 DDX11L1 2 uc001aac.4 chr1 - 12361 31370…
user976991
  • 411
  • 1
  • 6
  • 17
3
votes
1 answer

#EXTINF - field in apple hls playlist has decimal placed duration - generated by mediafilesegmenter

I am using mediafilesegmenter to generate HLS playlists for mp4 movies. My command is as follows, mediafilesegmenter movieName.mp4 -I -f /Library/WebServer/Documents/vod/movieName/ -t 10 -l movie.log -k…
cb24
  • 61
  • 2
  • 6
3
votes
2 answers

When I add a third segment to my expressionengine url, the exp:channel:entries stops returning results

I'm having an issue where a third "segment" in the url will cause ALL the exp:channel:entries to stop returning results. Example URLs: works fine: siteurl.com/index.php/one/two does not work: siteurl.com/index.php/one/two/three Example Entry Pull: …
AngryLaser
  • 33
  • 1
  • 5
3
votes
5 answers

Is it possible a unix or linux for 80286 machine (or any machine without memory page mechanism)

Is it possible to have a Unix OS for 80286 machine (or any machine without paged memory mechanism but with segmented memory)? 80286 is a CPU without TLB, Page tables; only with segmented virtual memory and segmented protection of memory. Is it…
osgx
  • 90,338
  • 53
  • 357
  • 513
3
votes
1 answer

How to set align 64 in ml64.exe?

What is a simplest way to set align 64 for some assembler function code with ml64.exe? Default alignment for _TEXT is 16, so ml64 doesn't allow to set more than 16 in align command. And ml64 doesn't allow to change alignment for _TEXT. It's possible…
Igor Pavlov
  • 209
  • 1
  • 6
3
votes
1 answer

Maximum number of subsegments in a circle array

There are n positive numbers (A1 , ... An) on a circle, how do we divide this circle into subsegments with sum greater or equal to m so that number of subsegments are maximum in O(n) , or O(nlogn) eg : n = 6 m = 6 3 1 2 3 6 3 ANS = 3 since we can…
FoxyZ
  • 148
  • 1
  • 12
3
votes
1 answer

Global Descriptor Table location

I'm confused with the location of the Global Descriptor Table (GDT). According to Intel Manuals from i386 to earlier ones, the GDTR register contains a base address of the GDT table which is pretended to be a linear address. Following Intel…
3
votes
1 answer

Segmentation in 64-bit Intel (and non-Intel) processors

I am trying to understand the implementation of process segments in 64-bit architectures. I came across these 2 discussions: 64 bit application: layout in memory Process segments(stack,heap,data and code) are contiguous in memory? However, I am…
Sujay Phadke
  • 2,145
  • 1
  • 22
  • 41
3
votes
1 answer

How is the implicit segment register of a near pointer determined?

In section 4.3 of Intel 64® and IA-32 Architectures Software Developer's Manual. Volume 1: Basic Architecture, it says: A near pointer is a 32-bit offset ... within a segment. Near pointers are used for all memory references in a flat memory model…
Daniel Trebbien
  • 38,421
  • 18
  • 121
  • 193
3
votes
5 answers

Lucene.NET --> access denied to segments

I have a problem with Lucene.NET. During an index, I receive the error 'Access to the path segments is denied'. Or sometimes 'Access to the path deletable is denied'. I eventually gave 'Everyone' full security rights to the index directory, but the…
Razzie
3
votes
1 answer

Google Analytics - Access custom segments through Service Account

My application needs to fetch Google Analytics data from backend servers. I am using Google Service Account in my application. Though I have given all permissions to my service account through Google Developer console, it turns out that my service…
3
votes
1 answer

How to set up a new stack segment for programs in x86 to separate from my kernel?

I am developing a 32 bit OS and I need to be able to set up NEW data segments/stack segments for programs. However I can not find ANY good information about how to use these segment registers in protected mode. I really need to be able to set up a…
user1454902
  • 750
  • 9
  • 24
2
votes
2 answers

Plotting overlapping positions in R

I have a dataframe in R like this: dat = data.frame(Sample = c(1,1,2,2,3), Start = c(100,300,150,200,160), Stop = c(180,320,190,220,170)) And I would like to plot it such that the x-axis is the position and the y-axis is the number of samples at…
yoda230
  • 449
  • 6
  • 14
2
votes
5 answers

Is runtime stack kept in data segment of memory?

I'm very curious of the stack memory organization after I experiment what's going on in the background and obviously saw it's matching with tiny knowledge I acquired from books. Just wanted to check if what I've understood is correct. I have a…
Burcu Dogan
  • 9,153
  • 4
  • 34
  • 34
2
votes
0 answers

Get segments from AVPlayerItemTrack

I am trying to work with a m3u8 playlist in an AVPlayer. I get the playlist through the web and I want to get the segments that each video track has or the current segment of the video. I am using the apple example code in order to do this. NSURL *…
dimlah
  • 403
  • 4
  • 12
1
2
3
9 10