Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for partlen (0.14 sec)

  1. src/database/sql/sql_test.go

    	}
    	reset := func() { s = connRequestSet{} }
    
    	t.Run("add-delete", func(t *testing.T) {
    		reset()
    		wantLen(0)
    		dh := s.Add(nil)
    		wantLen(1)
    		if !s.Delete(dh) {
    			t.Fatal("failed to delete")
    		}
    		wantLen(0)
    		if s.Delete(dh) {
    			t.Error("delete worked twice")
    		}
    		wantLen(0)
    	})
    	t.Run("take-before-delete", func(t *testing.T) {
    		reset()
    		ch1 := make(chan connRequest)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    	cleanup = func() {} // no cleanup by default
    
    	var argLen int
    	for _, arg := range cmd.Args {
    		argLen += len(arg)
    	}
    
    	// If we're not approaching 32KB of args, just pass args normally.
    	// (use 30KB instead to be conservative; not sure how accounting is done)
    	if !useResponseFile(cmd.Path, argLen) {
    		return
    	}
    
    	tf, err := os.CreateTemp("", "args")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			q.Activate(logger, map[string]*v1.Pod{"test_pod": tt.qPodInfoToActivate.PodInfo.Pod})
    
    			// Check the result after activation by the length of activeQ
    			if wantLen := len(tt.want); q.activeQ.Len() != wantLen {
    				t.Errorf("length compare: want %v, got %v", wantLen, q.activeQ.Len())
    			}
    
    			// Check if the specific pod exists in activeQ
    			for _, want := range tt.want {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

                tools placing it in the repository. Valid values are: {@code none} (default),
                {@code converted} (repository manager converted this from an Maven 1 POM),
                {@code partner}
                (directly synced from a partner Maven 2 repository), {@code deployed} (was deployed from a Maven 2
                instance), {@code verified} (has been hand verified as correct and final).
              </description>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 13:29:46 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    			// since Closing this early in the loop would risk
    			// making connections be re-used for the wrong reason.
    			defer res.Body.Close()
    
    			if res.ContentLength != int64(wantLen) {
    				t.Errorf("%s res.ContentLength = %d; want %d", path, res.ContentLength, wantLen)
    			}
    			got, err := io.ReadAll(res.Body)
    			if string(got) != msg || err != nil {
    				t.Errorf("%s ReadAll(Body) = %q, %v; want %q, nil", path, string(got), err, msg)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar

    ifact; public final synchronized class ArtifactStatus implements Comparable { public static final ArtifactStatus NONE; public static final ArtifactStatus GENERATED; public static final ArtifactStatus CONVERTED; public static final ArtifactStatus PARTNER; public static final ArtifactStatus DEPLOYED; public static final ArtifactStatus VERIFIED; private final int rank; private final String key; private static java.util.Map map; private void ArtifactStatus(String, int); public static ArtifactStatus valueOf(String);...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 160.1K bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // Norid category second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-c/
    // Norid category second-level domains managed by parties other than Norid : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-d/
    // RSS feed: https://teknisk.norid.no/en/feed/
    no
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top