Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api.cc

          status->status = MessageToBuffer(run_metadata_proto, run_metadata);
          if (!status->status.ok()) return;
        }
      } else {
        // NOTE(zongheng): PRun does not support RunOptions yet.
        result = session->PRun(handle, input_pairs, output_tensor_names, &outputs);
      }
      if (!result.ok()) {
        status->status = result;
        return;
      }
    
      // Store results in c_outputs[]
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    				ChecksumSHA256: strings.Split(chkSums["SHA256"], "-")[0],
    			}
    		}
    	}
    
    	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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  7. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          MockResponse.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(),
        )
        val request = newRequest("/")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

          MockResponse.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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    </p>
    
    <pre>
    v, ok = x.(T)
    v, ok := x.(T)
    var v, ok = x.(T)
    var v, ok interface{} = x.(T) // dynamic types of v and ok are T and bool
    </pre>
    
    <p>
    yields an additional untyped boolean value. The value of <code>ok</code> is <code>true</code>
    if the assertion holds. Otherwise it is <code>false</code> and the value of <code>v</code> is
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top