Displaying 20 results from an estimated 69 matches for "_get".
2017 Aug 11
0
[PATCH v3 00/28] DRM API Conversions
...ches for radeon and amdgpu.
Alex
> Note: I've included r-b, a-b tags, as these patches are identical to v1
> except for the file: drivers/gpu/drm/i915/i915_gem_object.h
>
> This patch set replaces the occurrences of drm_*_reference() and
> drm_*_unreference() with the new drm_*_get() and drm_*_put()
> functions.
> All patches in the series do the same thing, converting to the new APIs.
> I created patches per DRM driver as suggested by Daniel Vetter.
>
> This patch set was generated by scripts/coccinelle/api/drm-get-put.cocci
>
> Previous thread can be...
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...+0100
+++ xen-3/tools/python/xen/xend/osdep.py 2008-07-20 12:53:18.000000000 +0100
@@ -18,7 +18,8 @@
# Use is subject to license terms.
import os
import commands
+import xen.util.auxbin
_scripts_dir = {
"Linux": "/etc/xen/scripts",
@@ -92,6 +93,6 @@
scripts_dir = _get(_scripts_dir, "/etc/xen/scripts")
xend_autorestart = _get(_xend_autorestart)
-pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub")
+pygrub_path = _get(_pygrub_path, xen.util.auxbin.pathTo("pygrub"))
vif_script = _get(_vif_script, "vif-bridge")
lookup_balloo...
2008 Apr 09
3
Jitter Buffer fix for frozen sender
...ssly late". If lost_count > 20, something is very wrong
and we want this packet to be the start of our new synchronized stream.
Also included is a testcase.
Note that I found a related problem if the receiver is frozen. Once it
unfreezes, you may have a hundred speex_jitter_put before a _get. _get
will then still return the very first packet, even if there are suddenly
100 unplayed packets in the buffer (so it's playing old data).
Similarily, if more than 300 packets are suddenly inserted, the buffer
is full, and the call to _get actually fails, even if there are 300
consecuti...
2006 Feb 21
6
Help with Script.aculo inPlaceEditor
...e changes or not it doesn''t work. See example below:
<script type="text/javascript">
new Ajax.InPlaceEditor(''aNombre'', ''productos.php?a=actualizar&f=aNombre'');
</script>
In productos.php file I have this:
$field = isset($_GET[''f''])?$_GET[''f'']:null; // wich means the field for update or not
if ($_GET[''a''] == "actualizar") {
switch ($field){
case "aNombre":
die ('' You try to edit aNombre field '');
break;
}
}
But it...
2016 Mar 24
2
C5 MySQL injection attack ("Union Select")
...y an application level problem. What is this php file?
> You should upgrade wordpress and remove or block access to the plugin or
> custom page which allows sql injections.
Yes, my mistake. I should have imposed strict controls on the length of
parameters passed to programmes via web pages $_GET[] such as:-
UNION SELECT
CHAR(45,120,49,45,81,45),CHAR(45,120,50,45,81,45),CHAR(45,120,51,45,81,45),CHAR(45,120,52,45,81,45),CHAR(45,120,53,45,81,45),CHAR(45,120,54,45,81,45),CHAR(45,120,55,45,81,45),CHAR(45,120,56,45,81,45),CHAR(45,120,57,45,81,45),CHAR(45,120,49,48,45,81,45),CHAR(45,120,49,49,4...
2018 Jan 11
1
[PATCH 1/2] drm/nouveau: Remove redundant _get
From: Thierry Reding <treding at nvidia.com>
The nouveau_fence_get_get_driver_name() function has a redundant _get in
its name. Remove it.
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
drivers/gpu/drm/nouveau/nouveau_fence.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.c b/drive...
2018 Mar 21
0
[Outreachy kernel] [PATCH] drm/qxl: Replace drm_gem_object_reference/unreference() with _get/put()
On Tue, Mar 20, 2018 at 11:29:27AM -0700, Santha Meena Ramamoorthy wrote:
> Replace drm_gem_object_reference/unreference function with *_get/put()
> suffixes, because it is shorter and consistent with the kernel
> kref_get/put() functions. The following Coccinelle script was used:
>
> @@
> expression e;
> @@
>
> (
> -drm_gem_object_reference(e);
> +drm_gem_object_get(e);
> |
> -drm_gem_object_unrefe...
2015 Aug 04
3
php-R
...
echo "<form action='poorman.php' method='get'>";
echo "Number values to generate: <input type='text' name='N' />";
echo "<input type='submit' />";
echo "</form>";
if(isset($_GET['N']))
{
$N = $_GET['N'];
// execute R script from shell
// this will save a plot at temp.png to the filesystem
exec("C:\Program Files\R\R-3.2.0\bin\x64\my_rscript.R $N");
// return image tag
$nocache = rand();
echo("<...
2008 Apr 11
0
Jitter Buffer fix for frozen sender
...nt > 20, something is very wrong
> and we want this packet to be the start of our new synchronized stream.
>
> Also included is a testcase.
>
> Note that I found a related problem if the receiver is frozen. Once it
> unfreezes, you may have a hundred speex_jitter_put before a _get. _get
> will then still return the very first packet, even if there are suddenly
> 100 unplayed packets in the buffer (so it's playing old data).
> Similarily, if more than 300 packets are suddenly inserted, the buffer
> is full, and the call to _get actually fails, even if there ar...
2007 May 17
5
AJAX, PHP and scriptalicious
...ain\'',\''hello.php?
ID='' . $i[2] .''\'')">Delete</a><br />'';
echo ''</div>'';
}
}
This piece of code deletes the user from the database if chosen, and
then re-generates the list via AJAX:
if($_GET[ID] == "")
{
echo "nothing";
}else{
$delete = mysql_query(''DELETE FROM `testing` WHERE ID = '' .
$_GET[ID] . '''');
echo "Item has been deleted";
test();
}
Now comes the problem, how would i make the delete div use the...
2005 Jan 24
1
.call file creation
I am curious partly because it has occurred randomly in my asterisk
system. How does one go about creating a .call file for placing a call
between two extensions/phones? I know this has been mentioned and is
probably in one of the wikis somewhere, but I am unsure exactally how to
go about doing it. Can anyone point me in the right direction.
Dan
2018 Jan 15
2
[PATCH] fix drm-get-put.cocci warnings
From: Fengguang Wu <fengguang.wu at intel.com>
Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference() and
drm_*_unreference() helpers.
Generated by: scripts/coccinelle/api/drm-get-put.cocci
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
Signed-off-by: Julia Lawall <julia.lawall at lip6.fr>
---
tree: https://github.com/...
2016 Mar 24
0
C5 MySQL injection attack ("Union Select")
On 03/24/2016 07:57 AM, Always Learning wrote:
> I should have imposed strict controls on the length of
> parameters passed to programmes via web pages $_GET[] such as...
> and reject any incoming string containing ' or " in addition to PHP's
> strip_tags and (deprecated in later versions)
> mysql_real_escape_string($_GET['....'],$link);
No. No. Nooooooooo.
You're missing the point that everyone is trying to communi...
2016 Mar 24
1
C5 MySQL injection attack ("Union Select")
On Thu, 2016-03-24 at 09:18 -0700, Gordon Messmer wrote:
> On 03/24/2016 07:57 AM, Always Learning wrote:
> > I should have imposed strict controls on the length of
> > parameters passed to programmes via web pages $_GET[] such as...
> > and reject any incoming string containing ' or " in addition to PHP's
> > strip_tags and (deprecated in later versions)
> > mysql_real_escape_string($_GET['....'],$link);
>
> No. No. Nooooooooo.
>
> You're missing the point...
2008 Mar 18
1
Patch to make SPEEX_PREPROCESS_GET_AGC_GAIN use dB, and _SET_AGC_LEVEL use a int32
Hi,
The attached patch fixes an incistency in my earlier patch. Whereas the
rest of the AGC ctls are in dB, GET_AGC_GAIN was linear. This patch fixes
that.
It also changes the API for _GET and _SET_AGC_LEVEL to use a int32
instead of a float, meaning we don't need to do a API change when we get
a fixed point AGC.
Best regards,
Thorvald
-------------- next part --------------
--- speex/libspeex/preprocess.c 2008-02-21 15:41:54.000000000 +0100
+++ spx/libspeex/preprocess.c 2008-...
2006 Mar 27
1
rescue value
Do you know if exist a method to rescue the variable value pass to a
page .rhtml?
Something sucj as "_GET" in PHP?
--
Posted via http://www.ruby-forum.com/.
2009 Aug 17
1
Xapian DatabaseError
...unned in two different modality didn't work.
To test my page in local I use EasyPhp, I've loaded the php_xapian.dll extension and the problem remains. Why?
all the file and dir: search.php, search_function.inc, xapian_db are in the same dir
1) This is the code of search page
if(isset($_GET['query'])){
$query = $_GET['query'];
require_once 'search_function.inc';
simpleSearch($query,"xapian_db"); --> xapian_db is the path where is stored xapian db
}
2) This is the code of search function.inc
<?php
require_once 'xapian.php';
func...
2005 Feb 27
1
astguiclient gives me Object not found
...thod=POST, referer:
http://vpbx.elmit.com/astguiclient/phone_stats.php?extension=gs102&server_ip=192.168.250.20
I have uncommented the
### If you have globals turned off uncomment these lines
$PHP_AUTH_USER=$_SERVER['PHP_AUTH_USER'];
$PHP_AUTH_PW=$_SERVER['PHP_AUTH_PW'];
$ADD=$_GET["ADD"];
### AST GUI database administration
### admin.php
How can I fix it?
bye
Ronald
2007 Feb 19
0
Ajax.Update nested within Ajax.Request
...'post'',
parameters: Form.serialize(''formCapture''),
onComplete: function(transport){
//var response = transport.responseText || "no response
text";
//alert("Success! \n\n" + response);
var url = ''tempCaptureData.php?projectID=<?=$_GET[''projectID'']?
>&docID=<?=$_GET[''docID'']?>'';
var div = document.formCapture;
//alert(div.innerHTML);
var myAjax = new Ajax.Updater(div, url,
{method:''get'',parameters:pars});
alert(myAjax);
},
onFailure: function(){...
2007 Nov 05
2
JitterBuffer in SVN
Hi,
I see you're changing the jitter buffer around quite a bit. Could you
let us know when it's ready for general testing? (At the moment it
doesn't handle missing packets at all)
Best wishes,
Thorvald