Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for xstr (0.11 sec)

  1. operator/pkg/object/objects_test.go

    			if res != tt.want {
    				t.Errorf("got %v, want: %v", res, tt.want)
    			}
    		})
    	}
    }
    
    func TestK8sObject_ResolveK8sConflict(t *testing.T) {
    	getK8sObject := func(ystr string) *K8sObject {
    		o, err := ParseYAMLToK8sObject([]byte(ystr))
    		if err != nil {
    			panic(err)
    		}
    		// Ensure that json data is in sync.
    		// Since the object was created using yaml, json is empty.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	Frsize   uint64
    	Blocks   uint64
    	Bfree    uint64
    	Bavail   uint64
    	Files    uint64
    	Ffree    uint64
    	Favail   uint64
    	Fsid     uint64
    	Basetype [16]int8
    	Flag     uint64
    	Namemax  uint64
    	Fstr     [32]int8
    }
    
    type RawSockaddrInet4 struct {
    	Family uint16
    	Port   uint16
    	Addr   [4]byte /* in_addr */
    	Zero   [8]int8
    }
    
    type RawSockaddrInet6 struct {
    	Family   uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top