- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for stringify (0.37 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) -
test/typeparam/stringer.go
} func main() { x := []myint{myint(1), myint(2), myint(3)} got := stringify(x) want := []string{"1", "2", "3"} if !reflect.DeepEqual(got, want) { panic(fmt.Sprintf("got %s, want %s", got, want)) } got = stringify2(x) if !reflect.DeepEqual(got, want) { panic(fmt.Sprintf("got %s, want %s", got, want)) } got = stringify3(x) if !reflect.DeepEqual(got, want) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.6K 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) -
test/typeparam/stringerimp.dir/main.go
} func main() { x := []myint{myint(1), myint(2), myint(3)} got := a.Stringify(x) want := []string{"1", "2", "3"} if !reflect.DeepEqual(got, want) { panic(fmt.Sprintf("got %s, want %s", got, want)) } m1 := myint(1) m2 := myint(2) m3 := myint(3) y := []*myint{&m1, &m2, &m3} got2 := a.Stringify(y) want2 := []string{"1", "2", "3"} if !reflect.DeepEqual(got2, want2) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 741 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) -
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-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) -
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) -
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) -
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)