Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 182 for wantRm (0.48 sec)

  1. src/cmd/link/internal/ld/dwarf_test.go

    		"internal/abi.StructType":    true,
    		"internal/abi.InterfaceType": true,
    		"internal/abi.ITab":          true,
    	}
    
    	found := findTypes(t, dwarf, want)
    	if len(found) != len(want) {
    		t.Errorf("found %v, want %v", found, want)
    	}
    }
    
    func findTypes(t *testing.T, dw *dwarf.Data, want map[string]bool) (found map[string]bool) {
    	found = make(map[string]bool)
    	rdr := dw.Reader()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git_test.go

    				}
    				if !strings.Contains(err.Error(), tt.err) {
    					t.Fatalf("ReadFile: wrong error %q, want %q", err, tt.err)
    				}
    				if len(data) != 0 {
    					t.Errorf("ReadFile: non-empty data %q with error %v", data, err)
    				}
    				return
    			}
    			if tt.err != "" {
    				t.Fatalf("ReadFile: no error, wanted %v", tt.err)
    			}
    			if string(data) != tt.data {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/util/util_test.go

    				t.Errorf("ConvertAddressToCidr() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestConvertLocality(t *testing.T) {
    	tests := []struct {
    		name     string
    		locality string
    		want     *core.Locality
    		reverse  string
    	}{
    		{
    			name:     "nil locality",
    			locality: "",
    			want:     &core.Locality{},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. pkg/kubelet/images/image_gc_manager.go

    				continue
    			}
    			continue
    		}
    		remainingImages = append(remainingImages, image)
    	}
    	if len(deletionErrors) > 0 {
    		return remainingImages, fmt.Errorf("wanted to free images older than %v, encountered errors in image deletion: %v", im.policy.MaxAge, errors.NewAggregate(deletionErrors))
    	}
    	return remainingImages, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    			t.Errorf("failed to process all annotations")
    		}
    
    		want := allAnnotations[0]
    		if ok := len(want) == 1 && len(want["timestamp"]) > 0; !ok {
    			t.Errorf("invalid annotations: %v", want)
    		}
    
    		for i, annotations := range allAnnotations[1:] {
    			if diff := cmp.Diff(want, annotations); diff != "" {
    				t.Errorf("%d: unexpected annotations (-want +got): %s", i, diff)
    			}
    		}
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  6. src/testing/fstest/testfs.go

    		slices.Sort(names)
    	}
    
    	var problems []string
    	for len(want) > 0 || len(names) > 0 {
    		switch {
    		case len(want) > 0 && len(names) > 0 && want[0] == names[0]:
    			want, names = want[1:], names[1:]
    		case len(want) > 0 && (len(names) == 0 || want[0] < names[0]):
    			problems = append(problems, "missing: "+want[0])
    			want = want[1:]
    		default:
    			problems = append(problems, "extra: "+names[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/debug/dwarf/entry_test.go

    		{0x10, nil},
    		{0x400611, nil},
    	}
    	testRanges(t, "testdata/line-gcc.elf", want)
    
    	want = []wantRange{
    		{0x401122, [][2]uint64{{0x401122, 0x401166}}},
    		{0x401165, [][2]uint64{{0x401122, 0x401166}}},
    		{0x401166, [][2]uint64{{0x401166, 0x401179}}},
    	}
    	testRanges(t, "testdata/line-gcc-dwarf5.elf", want)
    
    	want = []wantRange{
    		{0x401130, [][2]uint64{{0x401130, 0x40117e}}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              if (comparator == null) {
                // A sorted spliterator with no comparator is already using natural order.
                // (We could probably find a way to avoid rawtypes here if we wanted.)
                @SuppressWarnings({"unchecked", "rawtypes"})
                Comparator<? super E> naturalOrder =
                    (Comparator<? super E>) Comparator.<Comparable>naturalOrder();
                comparator = naturalOrder;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 18:19:31 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

            String adjustment = "";
    
            if (parent != null) {
                String childName = child.getArtifactId();
    
                /*
                 * This logic (using filesystem, against wanted independence from the user environment) exists only for the
                 * sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

        }
    
        public static List<MavenProject> getProjects(MavenProject project, MavenSession session, boolean aggregator) {
            if (aggregator && project.getCollectedProjects() != null) {
                // get the unsorted list of wanted projects
                Set<MavenProject> projectAndSubmodules = new HashSet<>(project.getCollectedProjects());
                projectAndSubmodules.add(project);
                return session.getProjects().stream() // sorted all
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top