Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 220 for Nick (0.02 sec)

  1. tests/test_tutorial/test_bigger_applications/test_main_an.py

        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_users_with_no_token(client: TestClient):
        response = client.get("/users")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    				}
    			}
    		}
    		return ObjectInfo{}, toObjectErr(err, srcBucket, srcObject)
    	}
    
    	// List all online disks.
    	onlineDisks, modTime, etag := listOnlineDisks(storageDisks, metaArr, errs, readQuorum)
    
    	// Pick latest valid metadata.
    	fi, err := pickValidFileInfo(ctx, metaArr, modTime, etag, readQuorum)
    	if err != nil {
    		return oi, toObjectErr(err, srcBucket, srcObject)
    	}
    	if fi.Deleted {
    		if srcOpts.VersionID == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    		// array second dimension represents list of disks used per set.
    		Sets [][]string `json:"sets"`
    		// Distribution algorithm represents the hashing algorithm
    		// to pick the right set index for an object.
    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    public class ContiguousSetTest extends TestCase {
      private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS =
          new DiscreteDomain<Integer>() {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          // We use the bootstrap class loader as the parent because Finalizer by design uses
          // only standard Java classes. That also means that FinalizableReferenceQueueTest
          // doesn't pick up the wrong version of the Finalizer class.
          return new URLClassLoader(new URL[] {base}, null);
        }
      }
    
      /**
       * Loads Finalizer directly using the current class loader. We won't be able to garbage collect
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. cni/test/install_cni.go

    	}
    
    	if cleanErr := installer.Cleanup(); cleanErr != nil {
    		t.Errorf("Error during test CNI installer cleanup, error was: %s", cleanErr)
    	}
    }
    
    // checkResult checks if resultFile is equal to expectedFile at each tick until timeout
    func checkResult(result, expected string) error {
    	resultFile, err := os.ReadFile(result)
    	if err != nil {
    		return fmt.Errorf("couldn't read result: %v", err)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

        return client
    
    
    @needs_py39
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @needs_py39
    def test_users_with_no_token(client: TestClient):
        response = client.get("/users")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. README.md

    apply fixes to bugs or security vulnerabilities:
    
    *   Clone the TensorFlow repo and switch to the corresponding branch for your
        desired TensorFlow version, for example, branch `r2.8` for version 2.8.
    *   Apply (that is, cherry-pick) the desired changes and resolve any code
        conflicts.
    *   Run TensorFlow tests and ensure they pass.
    *   [Build](https://www.tensorflow.org/install/source) the TensorFlow pip
        package from source.
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    You pay. 💸
    
    The cashier gives you the number of your turn.
    
    <img src="/img/async/concurrent-burgers/concurrent-burgers-04.png" class="illustration">
    
    While you are waiting, you go with your crush and pick a table, you sit and talk with your crush for a long time (as your burgers are very fancy and take some time to prepare).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. cmd/endpoint.go

    					}
    				} else {
    					resolvedList[i] = true
    					endpoints[i].IsLocal = isLocal
    					epsResolved++
    					if !foundLocal {
    						foundLocal = isLocal
    					}
    				}
    			}
    
    			// Wait for the tick, if the there exist a local endpoint in discovery.
    			// Non docker/kubernetes environment we do not need to wait.
    			if !foundLocal && orchestrated {
    				<-keepAliveTicker.C
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top