PageRenderTime 4210ms queryFilters 0ms Sphinxql 2049ms GetByIds 1353ms meta 0ms repositoryFilters 271ms languageFilters 366ms sourceFilters 101ms

645,016 results for 'var result repo:duckduckgo/zeroclickinfo-spice' (4210 ms)

Source

Language

Repository

Result.js https://github.com/bilalawan101/Tangerine.git | JavaScript | 57 lines
1var Result,
2  __hasProp = Object.prototype.hasOwnProperty,
4
5Result = (function(_super) {
6
6
7  __extends(Result, _super);
8
8
9  function Result() {
10    Result.__super__.constructor.apply(this, arguments);
12
13  Result.prototype.url = "result";
14
14
15  Result.prototype.initialize = function(options) {
16    if (options.blank === true) {
var.c https://bitbucket.org/freebsd/freebsd-head/ | C | 2,624 lines
860
861	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
862		return (var);
916	if (ctxt != VAR_CMD) {
917		if ((var = VarLookup(&VAR_CMD->context, name)) != NULL)
918			return (var);
922	if (ctxt != VAR_GLOBAL && (!checkEnvFirst && !localCheckEnvFirst)) {
923		if ((var = VarLookup(&VAR_GLOBAL->context, name)) != NULL)
924			return (var);
926
927	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
928		return (var);
2073static char *
2074VarParseLong(VarParser *vp, Boolean *freeResult)
2075{
Result.Void.cs git://github.com/castleproject/Castle.Windsor-READONLY.git | C# | 443 lines
22	/// <param name = "result">The result.</param>
23	public delegate void ResultDelegate(Result result);
24
364			var result = Of(action);
365			result.SetCallbackInfo((IAsyncResult cb) => callback(result), state);
366			return result;
409
410		internal static Result EnsureResult(IAsyncResult asyncResult)
411		{
411		{
412			var result = asyncResult as Result;
413			if (result == null)
421		{
422			var result = (Result)asyncResult;
423			if (result.asyncCallback != null)
Result.hx http://caffeine-hx.googlecode.com/svn/trunk/ | Unknown | 221 lines
33/**
34	A Result set for a query, much like that in any relational database.
35**/
39
40	public var rowCount(getRowCount, null) : Null<Int>;
41	public var offset(default, null) : Int;
41	public var offset(default, null) : Int;
42	public var ok(default,null) : Bool;
43	/** only available if the view has a reduce function, but is
47	private var view : View;
48	private var result : Dynamic;
49	private var errId : String;
95				this.rowCount = 1;
96				var v = get("result");
97				value = v;
Result.hx http://caffeine-hx.googlecode.com/svn/trunk/ | Unknown | 219 lines
33/**
34	A Result set for a query, much like that in any relational database.
35**/
39
40	public var rowCount(getRowCount, null) : Null<Int>;
41	public var offset(default, null) : Int;
41	public var offset(default, null) : Int;
42	public var ok(default,null) : Bool;
43	/** only available if the view has a reduce function, but is
47	private var view : View;
48	private var result : Dynamic;
49	private var errId : String;
95				this.rowCount = 1;
96				var v = get("result");
97				value = v;
Result.hx http://caffeine-hx.googlecode.com/svn/trunk/ | Unknown | 219 lines
33/**
34	A Result set for a query, much like that in any relational database.
35**/
39
40	public var rowCount(getRowCount, null) : Null<Int>;
41	public var offset(default, null) : Int;
41	public var offset(default, null) : Int;
42	public var ok(default,null) : Bool;
43	/** only available if the view has a reduce function, but is
47	private var view : View;
48	private var result : Dynamic;
49	private var errId : String;
95				this.rowCount = 1;
96				var v = get("result");
97				value = v;
var.c git://github.com/davshao/dflygsocdrm.git | C | 2,533 lines
122
123#define	VAR_JUNK	4	/* Variable is a junk variable that
124				 * should be destroyed when done with
846
847	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
848		return (var);
896	if (ctxt != VAR_CMD) {
897		if ((var = VarLookup(&VAR_CMD->context, name)) != NULL)
898			return (var);
902	if (ctxt != VAR_GLOBAL && (!checkEnvFirst && !localCheckEnvFirst)) {
903		if ((var = VarLookup(&VAR_GLOBAL->context, name)) != NULL)
904			return (var);
906
907	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
908		return (var);
var.c?txt http://opensource.apple.com/release/ios-511/ | Unknown | 2,613 lines
862
863	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
864		return (var);
918	if (ctxt != VAR_CMD) {
919		if ((var = VarLookup(&VAR_CMD->context, name)) != NULL)
920			return (var);
924	if (ctxt != VAR_GLOBAL && (!checkEnvFirst && !localCheckEnvFirst)) {
925		if ((var = VarLookup(&VAR_GLOBAL->context, name)) != NULL)
926			return (var);
928
929	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
930		return (var);
2066static char *
2067VarParseLong(VarParser *vp, Boolean *freeResult)
2068{
var.c https://bitbucket.org/evzijst/freebsd.git | C | 2,603 lines
860
861	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
862		return (var);
916	if (ctxt != VAR_CMD) {
917		if ((var = VarLookup(&VAR_CMD->context, name)) != NULL)
918			return (var);
922	if (ctxt != VAR_GLOBAL && (!checkEnvFirst && !localCheckEnvFirst)) {
923		if ((var = VarLookup(&VAR_GLOBAL->context, name)) != NULL)
924			return (var);
926
927	if ((var = VarLookup(&VAR_ENV->context, name)) != NULL)
928		return (var);
2057static char *
2058VarParseLong(VarParser *vp, Boolean *freeResult)
2059{
eval-var-decl.js git://github.com/joyent/node.git | JavaScript | 66 lines
24description(
25"This test case checks whether variables cause properties to be defined even before reaching the declaration statement in various cases."
26);
34
35var firstEvalResult = eval('var result = this.hasOwnProperty("y"); var y = 3; result');
36shouldBeTrue("firstEvalResult");
37
38var secondEvalResult = eval('delete x; var result = this.hasOwnProperty("x"); var x = 3; result');
39shouldBeFalse("secondEvalResult");
40
41var thirdEvalResult = false;
42try {
42try {
43    thirdEvalResult = (function(){ var x=false; try { throw ""; } catch (e) { eval("var x = true;"); } return x; })();
44} catch (e) {
git-var.html https://github.com/boa0332/git-htmldocs.git | HTML | 684 lines
6<meta name="generator" content="AsciiDoc 8.5.2" />
7<title>git-var(1)</title>
8<style type="text/css">
478  function tocEntries(el, toclevels) {
479    var result = new Array;
480    var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
488          if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
489            result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
490          }
585<div class="verseblock">
586<div class="verseblock-content"><em>git var</em> ( -l | &lt;variable&gt; )</div>
587<div class="verseblock-attribution">
617</div>
618<h2 id="_variables">VARIABLES</h2>
619<div class="sectionbody">
class.result.js https://bitbucket.org/academium/gradebook | JavaScript | 46 lines
4
5function ClassResult(data) {
6    this.studentId = data.StudentId;
12        this.results($.map(data.Results, function (item) {
13            var taskResult = new TaskResult(item);
14            taskResult.result.subscribe(function () {
20    self.rate = ko.computed(function () {
21        var results = self.results();
22        if (_.isNull(results) || _.isEmpty(results)) return 0;
24        var tasksCount = results.length;
25        var rateSum = _.reduce(results, function (memo, item) {
26            var result = item.totalMarks > 1
34    self.hasResults = ko.computed(function(){
35        var results = self.results();
36        return !_.isNull(results) && !_.isEmpty(results);
student.task.result.js https://bitbucket.org/crackbrain/gradebook | JavaScript | 58 lines
4
5var StudentTaskResult = (function () {
6    function StudentTaskResult(data) {
14        if (data != null) {
15            if (data.Result) this.result(data.Result);
16            
30        this.rate = ko.computed(function () {
31            var result = self.result();
32            if (result) {
33                var max = self.task.totalMarks;
34                var rate = max ? (result * 100 / max) : 0;
35                return rate ? Math.round(rate * 10) / 10 : null;
52            studentId: this.student.id,
53            value: this.result() ? this.result() : 0,
54            comments: this.comments()
Result.cs https://hg01.codeplex.com/miconvexhull | C# | 150 lines
31    /*
32     * Code here transforms the result to its final form 
33     */
54
55            var hull = ch.GetHullVertices(data);
56
69            {
70                var vs = FacePool[ConvexFaces[i]].Vertices;
71                for (int j = 0; j < vs.Length; j++)
72                {
73                    var v = vs[j];
74                    if (!VertexMarks[v])
81
82            var result = new TVertex[hullVertexCount];
83            for (int i = 0; i < vertexCount; i++)
result.js https://bitbucket.org/wyatt/bycycle.tripplanner | JavaScript | 92 lines
7   */
8  var Result = function (data) {
9    $.extend(this, data);
22
23  var LookupResult = bycycle.inheritFrom(Result, {
24    constructor: function (data) {
25      this.superType.call(this, data);
26      var id = this.id,
27          llString = this.lat_long.coordinates.join(','),
70
71  var Route = bycycle.inheritFrom(Result, {
72    constructor: function (data) {
87  return {
88    LookupResult: LookupResult,
89    Route: Route
defuns-gnome-vfs-result.xml.texi git://git.savannah.gnu.org/guile-gnome.git | Unknown | 72 lines
3
4@deffn Function gnome-vfs-result-to-string  (res@tie{}@code{<gnome-vfs-result>}) @result{}@tie{} (ret@tie{}@code{mchars})
5Returns a string representing @var{result}, useful for debugging purposes, but
18
19@deffn Function gnome-vfs-result-from-errno-code  (errno_code@tie{}@code{int}) @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
20Converts a system errno value to a @code{<gnome-vfs-result>}.
32
33@deffn Function gnome-vfs-result-from-errno  @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
34Converts the system errno to a @code{<gnome-vfs-result>}.
43
44@deffn Function gnome-vfs-result-from-h-errno  @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
45Converts the system "h_errno" to a @code{<gnome-vfs-result>} (h_errno represents
55
56@deffn Function gnome-vfs-result-from-h-errno-val  (h_errno_code@tie{}@code{int}) @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
57Converts the error code @var{h-errno-code} into a @code{<gnome-vfs-result>}.
validate.result.js https://github.com/Hooyoo/HealtheMe.git | JavaScript | 173 lines
47                var sourceid = $("input#sourceid").val();
48                var resultid = $("input#resultid").val();
49                var testname = $("input#testname").val();
49                var testname = $("input#testname").val();
50                var resultdate = $("input#resultdate").val();
51                var result = $("input#result").val();
51                var result = $("input#result").val();
52                var resultunit = $("input#resultunit").val();
53
58                    "sourceId":sourceid,
59                    "resultId":resultid,
60                    "testName":testname,
60                    "testName":testname,
61                    "resultDateExact":resultdate,
62                    "result":result,
validate.result.new.js https://github.com/Hooyoo/HealtheMe.git | JavaScript | 172 lines
16$.validator.methods.regexMatch = function(value, element, param) {
17        var re = new RegExp(param);
18        return value.match(re);
47                var testname = $("input#testname").val();
48                var result = $("input#result").val();
49                var resultunit = $("input#resultunit").val();
49                var resultunit = $("input#resultunit").val();
50                var resultdate = $("input#resultdate").val();
51                var patientid = $("input#patientid").val();
59                    "testName":testname,
60                    "resultDateExact":resultdate,
61                    "result":result,
61                    "result":result,
62                    "resultUnit":resultunit},null,1);
63
result.js git://github.com/DarthFubuMVC/fubumvc.git | JavaScript | 50 lines
1var baseGet = require('../internal/baseGet'),
2    baseSlice = require('../internal/baseSlice'),
26 *
27 * _.result(object, 'a[0].b.c2');
28 * // => 4
29 *
30 * _.result(object, 'a.b.c', 'default');
31 * // => 'default'
36function result(object, path, defaultValue) {
37  var result = object == null ? undefined : object[path];
38  if (result === undefined) {
43    }
44    result = result === undefined ? defaultValue : result;
45  }
45  }
46  return isFunction(result) ? result.call(object) : result;
47}
eval-var-decl.js git://github.com/v8/v8.git | JavaScript | 65 lines
24description(
25"This test case checks whether variables cause properties to be defined even before reaching the declaration statement in various cases."
26);
34
35var firstEvalResult = eval('var result = this.hasOwnProperty("y"); var y = 3; result');
36shouldBeTrue("firstEvalResult");
37
38var secondEvalResult = eval('delete x; var result = this.hasOwnProperty("x"); var x = 3; result');
39shouldBeFalse("secondEvalResult");
40
41var thirdEvalResult = false;
42try {
42try {
43    thirdEvalResult = (function(){ var x=false; try { throw ""; } catch (e) { eval("var x = true;"); } return x; })();
44} catch (e) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21