Questions tagged [buffered]

96 questions
1
vote
1 answer

Start Buffer for Media Player in PageViewer (Android)

I'm trying to stream 2-3 second .ogg files in a PageViewer, I need the ability to buffer 3-4 .ogg files so that it will be instant when they click preview. Example: Gridview of thumbnails is loaded User clicks on any thumbnail Activity loads into a…
Will
  • 664
  • 7
  • 23
1
vote
1 answer

Unbuffered and Buffered streams

I am trying to write a program that just reads and write an unbuffered steam, and reads and writes a buffered stream. Following the example on the java docs, I've got this for my buffered stream, which works fine. import java.io.FileReader; import…
user2913004
  • 123
  • 1
  • 3
  • 8
1
vote
2 answers

General error 2014 with PDO buffer attribute set to true

I attempted to ask this here, but it didn't come out so well. I considered editing, but given the answers already received, I thought it better to start over. I am receiving the following error: Fatal error: Uncaught exception 'PDOException' with…
1
vote
1 answer

Ext JS buffered scrolling on custom component

Looking at the example for buffered scrolling: http://dev.sencha.com/deploy/ext-4.0.0/examples/grid/buffer-grid.html Am i to assume that this feature is only available on Grids? I would like to use it with a memory proxy bound to a custom data view…
RyanP13
  • 7,413
  • 27
  • 96
  • 166
0
votes
1 answer

Buffered read from disk

I want to read a file in a programming language (i.e. java). Usually the method signature is byte[] readBytes(int numberOfBytes) . The number of bytes should be a multiple of the block size of the format used by the Operating system (i.e.…
pokeRex110
  • 833
  • 2
  • 14
  • 26
0
votes
0 answers

buffered store used in a package throws an error

In EXTJS 6.7 I'm trying to use a buffered store in a grid inside a package and getting this error:ext-all-rtl-debug.js?_dc=1690868967014:118253 Uncaught TypeError: Cannot read properties of undefined (reading 'length') what could be the…
0
votes
1 answer

infinite(till the end) display buffered contents, in a sencha touch mobile app

I had a fairly long list to display in my sencha touch mobile app, due to the contents of the list, the app was pretty heavy and then i found this great tool it increased the efficiency drastically But the issue which comes with this library is…
whatf
  • 6,378
  • 14
  • 49
  • 78
0
votes
2 answers

capitalise the first letter of every word in a sentence

hi guys im trying to capitalise the first letter of every string however it doesn't seem to work. import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; public class Main { public static void…
sarah
  • 13
  • 4
0
votes
0 answers

avoiding buffered PHP output when launched from cron-dispatched shell script

My setup shares ingredients with many similar queries, but seems to have a unique problem to. it. I have a lengthy PHP process running at the command line with output to stdout. It is lengthy enough I would like to run it in the background while…
0
votes
1 answer

Labels appearing buffered, but Python code is running unbuffered

I am currently creating a blackjack game using Python3 on Sublime Text. When the dealers cards are drawn one by one, you can see it being drawn one by one in the console using the after() to call on different functions, but in the actual GUI all the…
0
votes
1 answer

Read from txt a 2D arraylist

I have this 2d arraylist and I want to read it from my txt file using buffer Reader(Java) . Any help? //my 2d arraylist with integers 1 2 3 4 5 6 7 8 9 10 11 12
0
votes
1 answer

Adding new record to "buffered store" in EXTJS

In my application I've a grid with buffered store. On click of row of grid, alert will be shown. I want to add a new row to grid i.e., add a new record to store (should not be saved in back-end until user peforms some save action). The same added…
url
  • 71
  • 8
0
votes
5 answers

Avoiding memcpy in C++ buffered output

I am trying to write directly to an fstream output buffer to avoid a memcpy. Why does the following code not work? It compiles, runs and produces the right length output file on Linux. But the output file does not contain correct text. Also note…
Prasoon Tiwari
  • 840
  • 2
  • 12
  • 23
0
votes
1 answer

BufferedWriter doesn't works when used concurrently

I need to write large amount of data to text file from a number of goroutines (say 30) concurrently. What I do is this: workers.Add(core.Concurrency) for i := 0; i < core.Concurrency; i++ { go func() { defer workers.Done() …
Ice3man
  • 115
  • 2
  • 9
0
votes
1 answer

java script drawing into buffered image

I want to draw a bitmap into buffer and create a bitmap using javascript. ideally i should create a bitmap by drawing lines, rectangles and stuffs like that, and paint into the screen when required. Thanks for replying and giving some code…
sunu
  • 25
  • 1
  • 3