Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for Freq (0.19 sec)

  1. security/pkg/k8s/chiron/utils_test.go

    func newMockTLSServer(t *testing.T) *mockTLSServer {
    	server := &mockTLSServer{}
    
    	handler := http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
    		t.Logf("request: %+v", *req)
    		switch req.URL.Path {
    		default:
    			t.Logf("The request contains path: %v", req.URL)
    			resp.WriteHeader(http.StatusOK)
    		}
    	})
    
    	server.httpServer = httptest.NewTLSServer(handler)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. cmd/signature-v4_test.go

    		}
    
    		// Create a request to use.
    		req, e := http.NewRequest(http.MethodGet, "http://host/a/b?"+query.Encode(), nil)
    		if e != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, e)
    		}
    
    		// Do the same for the headers.
    		for key, value := range testCase.headers {
    			req.Header.Set(key, value)
    		}
    
    		// parse form.
    		req.ParseForm()
    
    		// Check if it matches!
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                final HighlightInfo highlightInfo = new HighlightInfo();
                final String widthStr = req.getParameter(SCREEN_WIDTH);
                if (StringUtil.isNotBlank(widthStr)) {
                    final int width = Integer.parseInt(widthStr);
                    updateHighlightInfo(highlightInfo, width);
                    final HttpSession session = req.getSession(false);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/qos_container_manager_linux.go

    		pod := pods[i]
    		qosClass := v1qos.GetPodQOS(pod)
    		if qosClass != v1.PodQOSBurstable {
    			// we only care about the burstable qos tier
    			continue
    		}
    		req := resource.PodRequests(pod, resource.PodResourcesOptions{Reuse: reuseReqs})
    		if request, found := req[v1.ResourceCPU]; found {
    			burstablePodCPURequest += request.MilliValue()
    		}
    	}
    
    	// make sure best effort is always 2 shares
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/update.go

    	clnt := &http.Client{
    		Transport: transport,
    	}
    	req, err := http.NewRequest(http.MethodGet, u.String(), nil)
    	if err != nil {
    		return nil, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    			Message:    err.Error(),
    			StatusCode: http.StatusInternalServerError,
    		}
    	}
    
    	req.Header.Set("User-Agent", getUserAgent(mode))
    
    	resp, err := clnt.Do(req)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux.go

    	vallen := _Socklen(SizeofUcred)
    	err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen)
    	return &value, err
    }
    
    func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) {
    	return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
    }
    
    func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) {
    	var msg Msghdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    		c.outgoing.Delete(client.MuxID)
    	}()
    	return client.traceRoundtrip(ctx, c.trace, h, req)
    }
    
    // Request allows to do a single remote request.
    // 'req' will not be used after the call and caller can reuse.
    // If no deadline is set on ctx, a 1-minute deadline will be added.
    func (c *Subroute) Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. security/pkg/nodeagent/sds/sdsservice.go

    			if res == secretName {
    				return true
    			}
    		}
    	}
    	return false
    }
    
    func (c *Context) Process(req *discovery.DiscoveryRequest) error {
    	shouldRespond, delta := xds.ShouldRespond(c.Watcher(), c.XdsConnection().ID(), req)
    	if !shouldRespond {
    		return nil
    	}
    	resources := req.ResourceNames
    	if !delta.IsEmpty() {
    		resources = delta.Subscribed.UnsortedList()
    	}
    	res, err := c.s.generate(resources)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    	}
    
    	ctx, cancel := context.WithTimeout(GlobalContext, timeout)
    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, serverURL.String(), nil)
    	if err != nil {
    		return err
    	}
    	// Indicate that the liveness check for a peer call
    	req.Header.Set(xhttp.MinIOPeerCall, "true")
    
    	resp, err := httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    		if disk == nil {
    			continue
    		}
    
    		if !disk.IsOnline() {
    			continue
    		}
    
    		break
    	}
    
    	g := errgroup.WithNErrs(len(req.Files)).WithConcurrency(32)
    
    	partsInfo := make([]ObjectPartInfo, len(req.Files))
    	for i, file := range req.Files {
    		file := file
    		partN := i + start
    		i := i
    
    		g.Go(func() error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top