Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 879 for Res (0.11 sec)

  1. src/internal/poll/fd_io_plan9.go

    	if e != nil {
    		return
    	}
    	syscall.Write(f, []byte("hangup"))
    	syscall.Close(f)
    }
    
    // Wait for the I/O operation to complete.
    func (aio *asyncIO) Wait() (int, error) {
    	res := <-aio.res
    	return res.n, res.err
    }
    
    // The following functions, provided by the runtime, are used to
    // ignore and unignore the "hangup" signal received by the process.
    func runtime_ignoreHangup()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    					continue
    				}
    				if _, f := res[fromKey]; !f {
    					res[fromKey] = map[Reference]*Grants{}
    				}
    				if _, f := res[fromKey][toKey]; !f {
    					res[fromKey][toKey] = &Grants{
    						AllowedNames: sets.New[string](),
    					}
    				}
    				if to.Name != nil {
    					res[fromKey][toKey].AllowedNames.Insert(string(*to.Name))
    				} else {
    					res[fromKey][toKey].AllowAll = true
    				}
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. src/index/suffixarray/suffixarray_test.go

    func find(src, s string, n int) []int {
    	var res []int
    	if s != "" && n != 0 {
    		// find at most n occurrences of s in src
    		for i := -1; n < 0 || len(res) < n; {
    			j := strings.Index(src[i+1:], s)
    			if j < 0 {
    				break
    			}
    			i += j + 1
    			res = append(res, i)
    		}
    	}
    	return res
    }
    
    func testLookup(t *testing.T, tc *testCase, x *Index, s string, n int) {
    	res := x.Lookup([]byte(s), n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                MetadataGraph res = new MetadataGraph(vertices.size());
                res.setVersionedVertices(false);
                res.setScopedVertices(false);
    
                MetadataGraphVertex resEntry = res.addVertex(entry.getMd());
                res.setEntry(resEntry);
    
                res.setScope(requestedScope);
    
                for (MetadataGraphVertex v : vertices) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go

    		res = append(res, nestedValueValidationToStructural(&subSchema))
    	}
    	return res
    }
    
    func (s *Structural) OneOf() []common.Schema {
    	var res []common.Schema
    	for _, subSchema := range s.Structural.ValueValidation.OneOf {
    		subSchema := subSchema
    		res = append(res, nestedValueValidationToStructural(&subSchema))
    	}
    	return res
    }
    
    func (s *Structural) Not() common.Schema {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pkg/config/analysis/local/context.go

    					Name:      resource.LocalName(cfg.Name),
    					Namespace: resource.Namespace(cfg.Namespace),
    				}, id,
    			}
    			if res, ok := i.found[k]; ok {
    				if !broken && !fn(res) {
    					broken = true
    				}
    				cache[k] = res
    				continue
    			}
    			res, err := cfgToInstance(cfg, col, colschema, id)
    			if err != nil {
    				// TODO: demote this log before merging
    				log.Error(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    	))
    	defer ts.Close()
    
    	// No timeouts
    	ctx = context.Background()
    	sendResponse <- resp
    	res, err := http.Get(ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res.StatusCode != http.StatusOK {
    		t.Errorf("got res.StatusCode %d; expected %d", res.StatusCode, http.StatusOK)
    	}
    	body, _ := ioutil.ReadAll(res.Body)
    	if string(body) != resp {
    		t.Errorf("got body %q; expected %q", string(body), resp)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. internal/event/target/elasticsearch.go

    	if err == nil && exists {
    		res, err := c.Delete(
    			index,
    			key,
    			c.Delete.WithContext(ctx),
    		)
    		if err != nil {
    			return err
    		}
    		defer xhttp.DrainBody(res.Body)
    		if res.IsError() {
    			return fmt.Errorf("Delete err: %s", res.String())
    		}
    		return nil
    	}
    	return err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/net/http/client_test.go

    			t.Error("expected non-nil Request.Response")
    		}
    		return ErrUseLastResponse
    	}
    	res, err := c.Get(ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if res.StatusCode != StatusFound {
    		t.Errorf("status = %d; want %d", res.StatusCode, StatusFound)
    	}
    	defer res.Body.Close()
    	slurp, err := io.ReadAll(res.Body)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if string(slurp) != body {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    		t.Run(tc.reqPath, func(t *testing.T) {
    			res, err := c.Get(ts.URL + tc.reqPath)
    			if err != nil {
    				t.Fatal(err)
    			}
    			res.Body.Close()
    			if tc.path == "" {
    				if res.StatusCode != StatusNotFound {
    					t.Errorf("got %q, want 404 Not Found", res.Status)
    				}
    				return
    			}
    			if res.StatusCode != StatusOK {
    				t.Fatalf("got %q, want 200 OK", res.Status)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top