Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for index (0.06 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	return *getSidSubAuthorityCount(sid)
    }
    
    // SubAuthority returns the sub-authority of the SID as specified by
    // the index, which must be less than sid.SubAuthorityCount().
    func (sid *SID) SubAuthority(idx uint32) uint32 {
    	if idx >= uint32(sid.SubAuthorityCount()) {
    		panic("sub-authority index out of range")
    	}
    	return *getSidSubAuthority(sid, idx)
    }
    
    // IsValid returns whether the SID has a valid revision and length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/runtime/mgcmark.go

    		workCounter = &gcController.stackScanWork
    		if i < work.baseStacks || work.baseEnd <= i {
    			printlock()
    			print("runtime: markroot index ", i, " not in stack roots range [", work.baseStacks, ", ", work.baseEnd, ")\n")
    			throw("markroot: bad index")
    		}
    		gp := work.stackRoots[i-work.baseStacks]
    
    		// remember when we've first observed the G blocked
    		// needed only to output in traceback
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  3. src/net/http/request.go

    	if len(req.Header["Host"]) > 1 {
    		return nil, fmt.Errorf("too many Host headers")
    	}
    
    	// RFC 7230, section 5.3: Must treat
    	//	GET /index.html HTTP/1.1
    	//	Host: www.google.com
    	// and
    	//	GET http://www.google.com/index.html HTTP/1.1
    	//	Host: doesntmatter
    	// the same. In the second case, any Host line is ignored.
    	req.Host = req.URL.Host
    	if req.Host == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. src/go/build/build.go

    			data = data[1:]
    			continue
    		case '/':
    			if bytes.HasPrefix(data, slashSlash) {
    				i := bytes.Index(data, newline)
    				if i < 0 {
    					return nil
    				}
    				data = data[i+1:]
    				continue
    			}
    			if bytes.HasPrefix(data, slashStar) {
    				data = data[2:]
    				i := bytes.Index(data, starSlash)
    				if i < 0 {
    					return nil
    				}
    				data = data[i+2:]
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    		[]uintptr{uintptr(unsafe.Pointer(&source[0])),
    			uintptr(unsafe.Pointer(&abspath[0]))})
    	if ret != 0 {
    		index := bytes.IndexByte(abspath[:], byte(0))
    		if index != -1 {
    			return index, 0
    		}
    	} else {
    		errptr := (*int)(unsafe.Pointer(runtime.CallLeFuncByPtr(runtime.XplinkLibvec+SYS___ERRNO<<4, []uintptr{}))) //__errno()
    		return 0, *errptr
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. pilot/pkg/model/virtualservice_test.go

    		Meta: config.Meta{
    			GroupVersionKind: gvk.VirtualService,
    			Name:             "service-wildcard-v1",
    			Namespace:        "default",
    		},
    		Spec: virtualServiceSpec9,
    	}
    
    	index := virtualServiceIndex{
    		publicByGateway: map[string][]config.Config{
    			constants.IstioMeshGateway: {
    				virtualService1,
    				virtualService2,
    				virtualService3,
    				virtualService4,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		listVal.Set(reflect.MakeSlice(listVal.Type(), len(selectedObjects), len(selectedObjects)))
    		span.AddEvent("Resized result")
    		for i, o := range selectedObjects {
    			listVal.Index(i).Set(reflect.ValueOf(o).Elem())
    		}
    	}
    	span.AddEvent("Filtered items", attribute.Int("count", listVal.Len()))
    	if c.versioner != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. src/testing/testing.go

    	file := frame.File
    	line := frame.Line
    	if file != "" {
    		if *fullPath {
    			// If relative path, truncate file name at last file name separator.
    		} else if index := strings.LastIndexAny(file, `/\`); index >= 0 {
    			file = file[index+1:]
    		}
    	} else {
    		file = "???"
    	}
    	if line == 0 {
    		line = 1
    	}
    	buf := new(strings.Builder)
    	// Every line is indented at least 4 spaces.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. cmd/erasure-healing_test.go

    )
    
    // Tests isObjectDangling function
    func TestIsObjectDangling(t *testing.T) {
    	fi := newFileInfo("test-object", 2, 2)
    	fi.Erasure.Index = 1
    
    	ifi := newFileInfo("test-object", 2, 2)
    	ifi.SetInlineData()
    	ifi.Erasure.Index = 1
    
    	testCases := []struct {
    		name             string
    		metaArr          []FileInfo
    		errs             []error
    		dataErrs         map[int][]int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/lib.go

    			if i := bytes.Index(out, []byte(noPieWarning)); i >= 0 {
    				// swallow -no_pie deprecation warning, issue 54482
    				out = append(out[:i], out[i+len(noPieWarning):]...)
    			}
    		}
    		if ctxt.IsDarwin() {
    			const bindAtLoadWarning = "ld: warning: -bind_at_load is deprecated on macOS\n"
    			if i := bytes.Index(out, []byte(bindAtLoadWarning)); i >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top