- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for stringify (0.2 sec)
-
test/typeparam/boundmethod.go
got := stringify(x) want := []string{"1", "2", "3"} if !reflect.DeepEqual(got, want) { panic(fmt.Sprintf("got %s, want %s", got, want)) } // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639). // x2 := []StringInt[myint]{StringInt[myint](5), StringInt[myint](7), StringInt[myint](6)} // // // stringify on an instantiated type, whose bound method is associated with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 14:29:30 UTC 2023 - 2.7K bytes - Viewed (0) -
samples/bookinfo/src/ratings/ratings.js
if (Number.isNaN(productId)) { res.writeHead(400, {'Content-type': 'application/json'}) res.end(JSON.stringify({error: 'please provide numeric product ID'})) return } try { ratings = JSON.parse(req.body) } catch (error) { res.writeHead(400, {'Content-type': 'application/json'}) res.end(JSON.stringify({error: 'please provide valid ratings JSON'})) return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Sep 02 00:29:57 UTC 2022 - 8.8K bytes - Viewed (0) -
src/html/template/html.go
s, t := stringify(args...) if s == "" { return filterFailsafe } if t == contentTypeHTML { return htmlReplacer(stripTags(s), htmlNospaceNormReplacementTable, false) } return htmlReplacer(s, htmlNospaceReplacementTable, false) } // attrEscaper escapes for inclusion in quoted attribute values. func attrEscaper(args ...any) string { s, t := stringify(args...) if t == contentTypeHTML {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 19:42:28 UTC 2023 - 7.3K bytes - Viewed (0) -
build/pause/windows/pause.c
See the License for the specific language governing permissions and limitations under the License. */ #include <windows.h> #include <stdio.h> #include <string.h> #define STRINGIFY(x) #x #define VERSION_STRING(x) STRINGIFY(x) #ifndef VERSION #define VERSION HEAD #endif BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) { switch (fdwCtrlType) { case CTRL_C_EVENT:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 13:09:17 UTC 2024 - 1.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
// Filtering an array is NOT in place result.acceptedApiChanges = result.acceptedApiChanges.filter((item, pos, ary) => (!pos || (JSON.stringify(item) != JSON.stringify(ary[pos - 1])))); return result; } function acceptAllErrorCorrections() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0) -
pkg/ctrlz/topics/assets/templates/scopes.html
let ajax = new XMLHttpRequest(); ajax.onload = onload2; ajax.onerror = onerror; ajax.open("PUT", url, true); ajax.send(JSON.stringify(si)); } function onload2() { refreshScopes(); } } function onerror(e) { console.error(e); } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.2K bytes - Viewed (0) -
docs_src/generate_clients/tutorial004.js
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Mar 14 11:40:05 UTC 2024 - 1K bytes - Viewed (0) -
src/html/template/url.go
// explicitly indicate that such a URL is expected and safe by encapsulating it // in a template.URL value. func urlFilter(args ...any) string { s, t := stringify(args...) if t == contentTypeURL { return s } if !isSafeURL(s) { return "#" + filterFailsafe } return s } // isSafeURL is true if s is a relative URL or if URL has a protocol in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:48:16 UTC 2022 - 6.6K bytes - Viewed (0) -
pkg/ctrlz/assets/static/js/prism-1.14.0.min.js
gth)for(var m,l=0;m=h[l++];)m(g)}}},d=c.Token=function(f,g,h,l,m){this.type=f,this.content=g,this.alias=h,this.length=0|(l||'').length,this.greedy=!!m};if(d.stringify=function(f,g,h){if('string'==typeof f)return f;if('Array'===c.util.type(f))return f.map(function(q){return d.stringify(q,g,f)}).join('');var l={type:f.type,content:d.stringify(f.content,g,h),tag:'span',classes:['token',f.type],attributes:{},language:g,parent:h};if(f.alias){var m='Array'===c.util.type(f.alias)?f.alias:[f.alias];Arra...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 16.3K bytes - Viewed (0) -
src/main/webapp/js/search.js
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Mar 30 05:45:24 UTC 2023 - 7.5K bytes - Viewed (0)