Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for xstr (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/runtime/traceback_test.go

    				fatal("missing (")
    			}
    			frame := parseFrame(funcName, args)
    			cur.frames = append(cur.frames, frame)
    		case elidedRe.MatchString(line):
    			// "...N frames elided..."
    			nStr := elidedRe.FindStringSubmatch(line)
    			n, _ := strconv.Atoi(nStr[1])
    			frame := &tbFrame{elided: n}
    			cur.frames = append(cur.frames, frame)
    		}
    	}
    	return tbs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/vendor/golang.org/x/arch/arm/armasm/plan9x.go

    	{VCMP_EQ_F64, []int{1, 0}, "VCMP", "CMPD"},
    	{VCMP_E_EQ_F32, []int{1, 0}, "VCMP.E", "CMPF"},
    	{VCMP_E_EQ_F64, []int{1, 0}, "VCMP.E", "CMPD"},
    	{VLDR_EQ, []int{1}, "VLDR", "MOV"},
    	{VSTR_EQ, []int{1}, "VSTR", "MOV"},
    	{VMOV_EQ_F32, []int{1, 0}, "VMOV", "MOVF"},
    	{VMOV_EQ_F64, []int{1, 0}, "VMOV", "MOVD"},
    	{VMOV_EQ_32, []int{1, 0}, "VMOV", "MOVW"},
    	{VMOV_EQ, []int{1, 0}, "VMOV", "MOVW"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top