Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for listFn (0.98 sec)

  1. cmd/erasure-server-pool.go

    		// repeatedly. This workaround recursively lists the top 3 entries including delete markers to reflect the
    		// correct state of the directory in the list results.
    		if strings.HasSuffix(opts.Prefix, SlashSeparator) {
    			li, err := listFn(ctx, opts, maxKeys)
    			if err != nil {
    				return loi, err
    			}
    			if len(li.Objects) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    					UploadID: uploadIDs[6],
    				},
    			},
    		},
    		// listMultipartResults - 32.
    		// checking listing with marker set to no of objects in the list.
    		// `NextUploadIDMarker` is expected to be empty since all results are listed.
    		// `NextKeyMarker` is expected to be empty since all results are listed.
    		{
    			MaxUploads:  6,
    			IsTruncated: false,
    			Uploads: []MultipartInfo{
    				{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "", "", "", 5, resultCases[1], nil, true},
    		{"test-bucket-list-object", "", "", "", 4, resultCases[2], nil, true},
    		{"test-bucket-list-object", "", "", "", 3, resultCases[3], nil, true},
    		{"test-bucket-list-object", "", "", "", 1, resultCases[4], nil, true},
    		// Testing with prefix (25-28).
    		{"test-bucket-list-object", "new", "", "", 3, resultCases[5], nil, true},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

          when {
            emptyBody ->
              listOf(
                "ResponseBodyStart",
                "ResponseBodyEnd",
                "FollowUpDecision",
              )
            else ->
              listOf(
                "FollowUpDecision",
                "ResponseBodyStart",
                "ResponseBodyEnd",
              )
          }
        expectedEventTypes +=
          listOf(
            "ConnectionReleased",
            "CallEnd",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Test string array listing with fresh context
            CIFSContext listContext = createFreshContext();
            SmbFile listDir = new SmbFile(baseUrl + "shared/listdir_" + timestamp + "/", listContext);
            String[] names = listDir.list();
            assertNotNull(names, "List should not be null");
            assertEquals(3, names.length, "Should list 3 items");
    
            List<String> nameList = List.of(names);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	return makeTestTargetURL(endPoint, bucketName, prefix, queryValue)
    }
    
    // return URL for listing objects in the bucket with V2 API.
    func getListObjectsV2URL(endPoint, bucketName, prefix, maxKeys, fetchOwner, encodingType, delimiter string) string {
    	queryValue := url.Values{}
    	queryValue.Set("list-type", "2") // Enables list objects V2 URL.
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

              .newClientBuilder()
              .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
              .sslSocketFactory(
                handshakeCertificates.sslSocketFactory(),
                handshakeCertificates.trustManager,
              ).hostnameVerifier(RecordingHostnameVerifier())
              .build()
          scheme = "https"
        } else {
          server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
          client =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(url.queryParameterValue(2)).isNull()
        assertThat(url.queryParameterValues("foo")).isEqualTo(listOf(null as String?))
        assertThat(url.queryParameterValues("bar")).isEqualTo(listOf(null as String?))
        assertThat(url.queryParameterValues("baz")).isEqualTo(listOf(null as String?))
      }
    
      @Test
      fun queryParametersWithEmptyValues() {
        val url = parse("http://host/?foo=&bar=&baz=")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val expectedRequestHeaders =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/cached"),
          )
        peer.sendFrame().pushPromise(3, 2, expectedRequestHeaders)
        val expectedResponseHeaders =
          listOf(
            Header(Header.RESPONSE_STATUS, "200"),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    func TestXLStorageListVols(t *testing.T) {
    	// create xlStorage test setup
    	xlStorage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	var volInfos []VolInfo
    	// TestXLStorage empty list vols.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
Back to top