Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 69 of 69 for xstr (0.55 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/converter_test.go

    	src := map[string]interface{}{
    		"a": nil,
    		"b": int64(123),
    		"c": map[string]interface{}{
    			"a": "b",
    		},
    		"d": []interface{}{
    			int64(1), int64(2),
    		},
    		"e": "estr",
    		"f": true,
    		"g": encodingjson.Number("123"),
    	}
    	deepCopy := runtime.DeepCopyJSON(src)
    	assert.Equal(t, src, deepCopy)
    }
    
    func TestFloatIntConversion(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    enum E {
    	Enum1 = 1,
    	Enum2 = 2,
    };
    
    typedef unsigned char cgo_uuid_t[20];
    
    void uuid_generate(cgo_uuid_t x) {
    	x[0] = 0;
    }
    
    struct S {
    	int x;
    };
    
    const char *cstr = "abcefghijklmnopqrstuvwxyzABCEFGHIJKLMNOPQRSTUVWXYZ1234567890";
    
    extern enum E myConstFunc(struct S* const ctx, int const id, struct S **const filter);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    		if !ok {
    			return
    		}
    
    		for _, c := range f.Calls {
    			if !c.Done && c.Call.Lparen == call.Lparen {
    				cstr, nu := p.rewriteCall(f, c)
    				if cstr != "" {
    					// Smuggle the rewritten call through an ident.
    					*px = ast.NewIdent(cstr)
    					if nu {
    						needsUnsafe = true
    					}
    					c.Done = true
    				}
    			}
    		}
    	})
    	return *arg, needsUnsafe
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	runtime.ExitSyscall()
    	if r0 == 0 {
    		err = errnoErr2(e1, e2)
    	} else {
    		name = u2s(unsafe.Pointer(r0))
    	}
    	return
    }
    
    func u2s(cstr unsafe.Pointer) string {
    	str := (*[1024]uint8)(cstr)
    	i := 0
    	for str[i] != 0 {
    		i++
    	}
    	return string(str[:i])
    }
    
    func Close(fd int) (err error) {
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_CLOSE<<4, uintptr(fd))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    		err = errnoErr(e1)
    	}
    	return
    }
    
    func MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) {
    	r0, _, e1 := syscall.Syscall6(procMultiByteToWideChar.Addr(), 6, uintptr(codePage), uintptr(dwFlags), uintptr(unsafe.Pointer(str)), uintptr(nstr), uintptr(unsafe.Pointer(wchar)), uintptr(nwchar))
    	nwrite = int32(r0)
    	if nwrite == 0 {
    		err = errnoErr(e1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // in the form of "{XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}".
    func (guid GUID) String() string {
    	var str [100]uint16
    	chars := stringFromGUID2(&guid, &str[0], int32(len(str)))
    	if chars <= 1 {
    		return ""
    	}
    	return string(utf16.Decode(str[:chars-1]))
    }
    
    // KnownFolderPath returns a well-known folder path for the current user, specified by one of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    //   with two C strings, you are testing how their locations in memory
    //   are related, not how their content is related.  To compare two C
    //   strings by content, use {ASSERT|EXPECT}_STR*().
    //
    //   3. {ASSERT|EXPECT}_EQ(expected, actual) is preferred to
    //   {ASSERT|EXPECT}_TRUE(expected == actual), as the former tells you
    //   what the actual value is when it fails, and similarly for the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    //   with two C strings, you are testing how their locations in memory
    //   are related, not how their content is related.  To compare two C
    //   strings by content, use {ASSERT|EXPECT}_STR*().
    //
    //   3. {ASSERT|EXPECT}_EQ(expected, actual) is preferred to
    //   {ASSERT|EXPECT}_TRUE(expected == actual), as the former tells you
    //   what the actual value is when it fails, and similarly for the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/static/trace_viewer_full.html

    if(percent===0)return'000';if(percent===1)return'100';let str=percent.toString();if(str[1]!=='.'){throw new Error('Unexpected percent');}
    str=str+'0'.repeat(Math.max(4-str.length,0));if(str.length>4){if(opt_force3){str=str.slice(0,4);}else{str=str.slice(0,4)+'_'+str.slice(4);}}
    return'0'+str.slice(2);}
    function percentFromString(s){return parseFloat(s[0]+'.'+s.substr(1).replace(/_/g,''));}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top