Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 101 for resc (0.74 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
      private static String badElementIndex(int index, int size, String desc) {
        if (index < 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  2. tests/query_test.go

    	}
    
    	result = dryDB.Order("age desc, name").Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc, name").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("Build Order condition, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Order("age desc").Order("name").Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* ORDER BY age desc,name").MatchString(result.Statement.SQL.String()) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	return dswp, fakePodManager, fakePodStateProvider
    }
    
    func TestFindAndAddNewPods_WithDifferentConditions(t *testing.T) {
    	tests := []struct {
    		desc          string
    		hasAddedPods  bool
    		podState      string
    		expectedFound bool // Found pod is added to DSW
    	}{
    		{
    			desc:          "HasAddedPods is false, ShouldPodRuntimeBeRemoved and ShouldPodContainerBeTerminating are both true",
    			hasAddedPods:  false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	actual := []*cRecord{}
    	for _, cStatus := range runtime.Containers {
    		actual = append(actual, &cRecord{name: cStatus.Metadata.Name, attempt: cStatus.Metadata.Attempt, state: cStatus.State})
    	}
    	sort.Sort(cRecordList(expected))
    	sort.Sort(cRecordList(actual))
    	assert.Equal(t, expected, actual, desc)
    }
    
    func TestNewKubeRuntimeManager(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_test.go

    package main
    
    import "lib"
    import . "lib"
    
    const Pi = 3.1415
    type T struct{}
    var Y, _ = lib.X, X
    
    func F[T *U, U any](param1, param2 int) /*param1=undef*/ (res1 /*res1=undef*/, res2 int) /*param1=var:12*/ /*res1=var:12*/ /*U=typename:12*/ {
    	const pi, e = 3.1415, /*pi=undef*/ 2.71828 /*pi=const:13*/ /*e=const:13*/
    	type /*t=undef*/ t /*t=typename:14*/ *t
    	print(Y) /*Y=var:10*/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. pkg/controller/endpointslice/endpointslice_controller_test.go

    }
    
    func TestServiceExternalNameTypeSync(t *testing.T) {
    	serviceName := "testing-1"
    	namespace := metav1.NamespaceDefault
    
    	testCases := []struct {
    		desc    string
    		service *v1.Service
    	}{
    		{
    			desc: "External name with selector and ports should not receive endpoint slices",
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/xcoff.go

    				name := ldr.SymExtname(s)
    				ldr.SetSymExtname(s, "."+name)
    
    				desc := ldr.MakeSymbolUpdater(ldr.CreateExtSym(name, 0))
    				desc.SetReachable(true)
    				desc.SetType(sym.SNOPTRDATA)
    				desc.AddAddr(ctxt.Arch, s)
    				desc.AddAddr(ctxt.Arch, toc.Sym())
    				desc.AddUint64(ctxt.Arch, 0)
    			}
    		}
    	}
    }
    
    // Loader section
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  8. src/go/types/api_test.go

    package main
    
    import "lib"
    import . "lib"
    
    const Pi = 3.1415
    type T struct{}
    var Y, _ = lib.X, X
    
    func F[T *U, U any](param1, param2 int) /*param1=undef*/ (res1 /*res1=undef*/, res2 int) /*param1=var:12*/ /*res1=var:12*/ /*U=typename:12*/ {
    	const pi, e = 3.1415, /*pi=undef*/ 2.71828 /*pi=const:13*/ /*e=const:13*/
    	type /*t=undef*/ t /*t=typename:14*/ *t
    	print(Y) /*Y=var:10*/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  9. src/go/build/build.go

    func parseWord(data []byte) (word, rest []byte) {
    	data = skipSpaceOrComment(data)
    
    	// Parse past leading word characters.
    	rest = data
    	for {
    		r, size := utf8.DecodeRune(rest)
    		if unicode.IsLetter(r) || '0' <= r && r <= '9' || r == '_' {
    			rest = rest[size:]
    			continue
    		}
    		break
    	}
    
    	word = data[:len(data)-len(rest)]
    	if len(word) == 0 {
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  10. common/scripts/metallb-native.yaml

                type: string
              kind:
                description: 'Kind is a string value representing the REST resource this
                  object represents. Servers may infer this from the endpoint the client
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
Back to top