Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Ok (0.02 sec)

  1. cmd/admin-handlers.go

    		return nil, errServerNotInitialized
    	}
    
    	z, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		return nil, errServerNotInitialized
    	}
    
    	poolsInfo := make(map[int]map[int]madmin.ErasureSetInfo)
    	for _, d := range allDisks {
    		poolInfo, ok := poolsInfo[d.PoolIndex]
    		if !ok {
    			poolInfo = make(map[int]madmin.ErasureSetInfo)
    		}
    		erasureSet, ok := poolInfo[d.SetIndex]
    		if !ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		for b := range allBuckets {
    			if _, ok := bucketStats[b]; !ok {
    				bucketStats[b] = make([]srBucketMetaInfo, numSites)
    			}
    			si, ok := sri.Buckets[b]
    			if !ok {
    				si = madmin.SRBucketInfo{Bucket: b}
    			}
    			bucketStats[b][i] = srBucketMetaInfo{SRBucketInfo: si, DeploymentID: sri.DeploymentID}
    		}
    
    		for pname := range allPolicies {
    			if _, ok := policyStats[pname]; !ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 184.8K bytes
    - Viewed (1)
  3. cmd/bucket-replication.go

    	}
    	if disp, ok := lkMap.Lookup(xhttp.ContentDisposition); ok {
    		putOpts.ContentDisposition = disp
    	}
    	if cc, ok := lkMap.Lookup(xhttp.CacheControl); ok {
    		putOpts.CacheControl = cc
    	}
    	if mode, ok := lkMap.Lookup(xhttp.AmzObjectLockMode); ok {
    		rmode := minio.RetentionMode(mode)
    		putOpts.Mode = rmode
    	}
    	if retainDateStr, ok := lkMap.Lookup(xhttp.AmzObjectLockRetainUntilDate); ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 118.2K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    				ChecksumType:      chkSums[xhttp.AmzChecksumType],
    			}
    		}
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ETag]; ok {
    		OA.ETag = objInfo.ETag
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectSize]; ok {
    		OA.ObjectSize, _ = objInfo.GetActualSize()
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.StorageClass]; ok {
    		OA.StorageClass = filterStorageClass(ctx, objInfo.StorageClass)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    			for k, v := range usage.ObjectSizesHistogram {
    				v1, ok := clusterObjectSizesHistogram[k]
    				if !ok {
    					clusterObjectSizesHistogram[k] = v
    				} else {
    					v1 += v
    					clusterObjectSizesHistogram[k] = v1
    				}
    			}
    			for k, v := range usage.ObjectVersionsHistogram {
    				v1, ok := clusterVersionsHistogram[k]
    				if !ok {
    					clusterVersionsHistogram[k] = v
    				} else {
    					v1 += v
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 133.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .build(),
        )
        val url = server.url("/")
        val urlKey = key(url)
        val entryMetadata =
          """
          $url
          GET
          0
          HTTP/1.1 200 OK
          7
          :status: 200 OK
          :version: HTTP/1.1
          etag: foo
          content-length: 3
          OkHttp-Received-Millis: ${System.currentTimeMillis()}
          X-Android-Response-Source: NETWORK 200
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            .Builder()
            .status("HTP/1.1 200 OK")
            .build(),
        )
        val request = newRequest("/")
        assertFailsWith<IOException> {
          getResponse(request)
        }
      }
    
      @Test
      fun serverSendsInvalidCodeTooLarge() {
        server.enqueue(
          MockResponse
            .Builder()
            .status("HTTP/1.1 2147483648 OK")
            .build(),
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .Builder()
            .status("HTP/1.1 200 OK")
            .build(),
        )
        executeSynchronously("/")
          .assertFailure("Unexpected status line: HTP/1.1 200 OK")
      }
    
      @Test
      fun serverSendsInvalidCodeTooLarge() {
        server.enqueue(
          MockResponse
            .Builder()
            .status("HTTP/1.1 2147483648 OK")
            .build(),
        )
        executeSynchronously("/")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    				adminLogIf(ctx, err)
    			}
    			return nil
    		}
    		for _, f := range iamExportFiles {
    			iamFile := pathJoin(iamAssetsDir, f)
    
    			fileContent, ok := exportContent[f]
    			if !ok {
    				t.Fatalf("missing content for %s", f)
    			}
    
    			if err := rawDataFn(bytes.NewReader(fileContent), iamFile, len(fileContent)); err != nil {
    				t.Fatalf("failed to write %s: %v", iamFile, err)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 103.4K bytes
    - Viewed (1)
  10. cmd/server_test.go

    	req.Header.Set("Origin", "http://foobar.com")
    	res, err := s.client.Do(req)
    	if err != nil {
    		c.Fatal(err)
    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    			c.Errorf("Expected key %s missing from %v", k, res.Header)
    		} else {
    			expectedSet := set.CreateStringSet(expectedMap[k]...)
    			gotSet := set.CreateStringSet(strings.Split(v[0], ", ")...)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
Back to top