Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for xstr (0.06 sec)

  1. src/internal/syscall/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: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. src/encoding/xml/marshal_test.go

    			Uint8: 255,
    			Bool:  true,
    			Str:   "str",
    			Bytes: []byte("byt"),
    			PStr:  &empty,
    			Ptr:   &PresenceTest{},
    		},
    		ExpectXML: `<OmitFieldTest>` +
    			`<Int>8</Int>` +
    			`<int>9</int>` +
    			`<Float>23.5</Float>` +
    			`<Uint8>255</Uint8>` +
    			`<Bool>true</Bool>` +
    			`<Str>str</Str>` +
    			`<Bytes>byt</Bytes>` +
    			`<PStr></PStr>` +
    			`<Ptr></Ptr>` +
    			`</OmitFieldTest>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  3. src/math/big/int_test.go

    	} {
    		i, ok := new(Int).SetString(test.istr, 0)
    		if !ok {
    			t.Errorf("SetString(%s) failed", test.istr)
    			continue
    		}
    
    		// Test against expectation.
    		f, acc := i.Float64()
    		if f != test.f || acc != test.acc {
    			t.Errorf("%s: got %f (%s); want %f (%s)", test.istr, f, acc, test.f, test.acc)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  5. src/regexp/syntax/parse.go

    		if i < len(sub) {
    			istr, iflags = p.leadingString(sub[i])
    			if iflags == strflags {
    				same := 0
    				for same < len(str) && same < len(istr) && str[same] == istr[same] {
    					same++
    				}
    				if same > 0 {
    					// Matches at least one rune in current range.
    					// Keep going around.
    					str = str[:same]
    					continue
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/syscall_windows.go

    )
    
    const MB_ERR_INVALID_CHARS = 8
    
    //sys	GetACP() (acp uint32) = kernel32.GetACP
    //sys	GetConsoleCP() (ccp uint32) = kernel32.GetConsoleCP
    //sys	MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar
    //sys	GetCurrentThread() (pseudoHandle syscall.Handle, err error) = kernel32.GetCurrentThread
    
    // Constants from lmshare.h
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    		return
    	}
    	profileStr := r.Form.Get("profilerType")
    	profiles := strings.Split(profileStr, ",")
    	duration := time.Minute
    	if dstr := r.Form.Get("duration"); dstr != "" {
    		var err error
    		duration, err = time.ParseDuration(dstr)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    			return
    		}
    	}
    
    	globalProfilerMu.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. operator/pkg/translate/translate.go

    		if err != nil {
    			return "", err
    		}
    		if !found {
    			scope.Debugf("path %s not found in IstioOperatorSpec, skip mapping.", renderedInPath)
    			continue
    		}
    		if mstr, ok := m.(string); ok && mstr == "" {
    			scope.Debugf("path %s is empty string, skip mapping.", renderedInPath)
    			continue
    		}
    		// Zero int values are due to proto3 compiling to scalars rather than ptrs. Skip these because values of 0 are
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/liveness/plive.go

    		// Clobber only functions where the hash of the function name matches a pattern.
    		// Useful for binary searching for a miscompiled function.
    		hstr := ""
    		for _, b := range notsha256.Sum256([]byte(lv.f.Name)) {
    			hstr += fmt.Sprintf("%08b", b)
    		}
    		if !strings.HasSuffix(hstr, h) {
    			return
    		}
    		fmt.Printf("\t\t\tCLOBBERDEAD %s\n", lv.f.Name)
    	}
    	lv.doClobber = true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. src/testing/testing.go

    	if t.parent == nil {
    		return
    	}
    	dstr := fmtDuration(t.duration)
    	format := "--- %s: %s (%s)\n"
    	if t.Failed() {
    		t.flushToParent(t.name, format, "FAIL", t.name, dstr)
    	} else if t.chatty != nil {
    		if t.Skipped() {
    			t.flushToParent(t.name, format, "SKIP", t.name, dstr)
    		} else {
    			t.flushToParent(t.name, format, "PASS", t.name, dstr)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top