- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for stringFind (0.22 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesIntegrationTest.groovy
#include "resources.h" std::string LoadStringFromResource(UINT stringID) { HMODULE instance = LoadLibraryEx("resources.dll", NULL, LOAD_LIBRARY_AS_DATAFILE); WCHAR * pBuf = NULL; int len = LoadStringW(instance, stringID, reinterpret_cast<LPWSTR>(&pBuf), 0); std::wstring wide = std::wstring(pBuf, len);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.4K bytes - Viewed (0) -
src/text/template/funcs.go
errNoComparison = errors.New("missing argument for comparison") ) type kind int const ( invalidKind kind = iota boolKind complexKind intKind floatKind stringKind uintKind ) func basicKind(v reflect.Value) (kind, error) { switch v.Kind() { case reflect.Bool: return boolKind, nil case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
src/internal/trace/event.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0) -
cmd/object-api-options.go
} } return } func parseIntHeader(bucket, object string, h http.Header, headerName string) (value int, err error) { stringInt := strings.TrimSpace(h.Get(headerName)) if stringInt == "" { return } value, err = strconv.Atoi(stringInt) if err != nil { return 0, InvalidArgument{ Bucket: bucket, Object: object,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 14.3K bytes - Viewed (0) -
src/html/escape_test.go
{ "copy", "A\ttext\nstring", "A\ttext\nstring", }, // Handle simple named entities. { "simple", "& > <", "& > <", }, // Handle hitting the end of the string. { "stringEnd", "& &", "& &", }, // Handle entities with two codepoints. { "multiCodepoint", "text ⋛︀ blah", "text \u22db\ufe00 blah", }, // Handle decimal numeric entities. {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 22 12:45:38 UTC 2015 - 3.3K bytes - Viewed (0) -
src/syscall/security_windows.go
//sys ConvertSidToStringSid(sid *SID, stringSid **uint16) (err error) = advapi32.ConvertSidToStringSidW //sys ConvertStringSidToSid(stringSid *uint16, sid **SID) (err error) = advapi32.ConvertStringSidToSidW //sys GetLengthSid(sid *SID) (len uint32) = advapi32.GetLengthSid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 16:42:41 UTC 2023 - 10K bytes - Viewed (0) -
src/testing/benchmark_test.go
b.ReportMetric(12345, "ns/op") b.ReportMetric(0.2, "frobs/op") }) // Test built-in overriding. if res.NsPerOp() != 12345 { t.Errorf("NsPerOp: expected %v, actual %v", 12345, res.NsPerOp()) } // Test stringing. res.N = 1 // Make the output stable want := " 1\t 12345 ns/op\t 0.2000 frobs/op" if want != res.String() { t.Errorf("expected %q, actual %q", want, res.String()) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.6K bytes - Viewed (0) -
src/internal/trace/order.go
// Handle special goroutine-bound event ranges. if err := validateCtx(curCtx, event.UserGoReqs); err != nil { return curCtx, false, err } desc := stringID(0) if ev.typ == go122.EvSTWBegin { desc = stringID(ev.args[0]) } gState, ok := o.gStates[curCtx.G] if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/syscall/zsyscall_windows.go
) func ConvertSidToStringSid(sid *SID, stringSid **uint16) (err error) { r1, _, e1 := Syscall(procConvertSidToStringSidW.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(stringSid)), 0) if r1 == 0 { err = errnoErr(e1) } return } func ConvertStringSidToSid(stringSid *uint16, sid **SID) (err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 56.3K bytes - Viewed (1) -
src/encoding/json/decode_test.go
return errors.New("MustNotUnmarshalText was used") } func TestStringKind(t *testing.T) { type stringKind string want := map[stringKind]int{"foo": 42} data, err := Marshal(want) if err != nil { t.Fatalf("Marshal error: %v", err) } var got map[stringKind]int err = Unmarshal(data, &got) if err != nil { t.Fatalf("Unmarshal error: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:40:14 UTC 2024 - 67.6K bytes - Viewed (0)