Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for xstr (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/reflect/all_test.go

    	}
    	verifyMapBucket(t,
    		Tscalar, Tptr,
    		map[Xscalar]Xptr(nil),
    		join(hdr, rep(bucketCount, lit(0)), rep(bucketCount, lit(1)), lit(1)))
    	verifyMapBucket(t,
    		Tscalarptr, Tptr,
    		map[Xscalarptr]Xptr(nil),
    		join(hdr, rep(bucketCount, lit(0, 1)), rep(bucketCount, lit(1)), lit(1)))
    	verifyMapBucket(t, Tint64, Tptr,
    		map[int64]Xptr(nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
Back to top