Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 961 - 970 of 1,559 for test (0.01 seconds)

  1. src/archive/tar/strconv_test.go

    			t.Errorf("fitsInBase256(%d, %d): got %v, want %v", v.in, v.width, ok, v.ok)
    		}
    	}
    }
    
    func TestParseNumeric(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want int64
    		ok   bool
    	}{
    		// Test base-256 (binary) encoded values.
    		{"", 0, true},
    		{"\x80", 0, true},
    		{"\x80\x00", 0, true},
    		{"\x80\x00\x00", 0, true},
    		{"\xbf", (1 << 6) - 1, true},
    		{"\xbf\xff", (1 << 14) - 1, true},
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/site/apt/dependency-types.apt

    *-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
    | <<<test-jar>>>        | <<<tests>>>   | <<<jar>>>  | java      | classes, patch module |                       |
    *-----------------------+---------------+------------+-----------+-----------------------+-----------------------+
    | <<<modular-jar>>> *   | <<<tests>>>   | <<<jar>>>  | java      | modules               |                       |
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_header_params/test_tutorial003.py

            (
                "/items",
                [("x-token", "foo"), ("x-token", "bar")],
                200,
                {"X-Token values": ["foo", "bar"]},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. docs/uk/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Kabir Khan - <strong>Microsoft</strong> <a href="https://github.com/fastapi/fastapi/pull/26" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    "_We adopted the **FastAPI** library to spawn a **REST** server that can be queried to obtain **predictions**. [for Ludwig]_"
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/03-gopls.yml

        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best."
        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri May 24 17:09:04 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithConstants.java

    package org.gradle.test;
    
    public class JavaClassWithConstants {
        public static final String STRING_CONST = "some-string";
        static final char CHAR_CONST = 'a';
        static final int INT_CONST = 9;
        protected static final Object OBJECT_CONST = new JavaClassWithConstants();
    
        static String ignored = "ignore";
        String ignored2 = "ignore";
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 353 bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

    import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.SITE_DEPLOY;
    import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.TEST;
    import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.VALIDATE;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/pom.xml

          <artifactId>maven-resolver-api</artifactId>
        </dependency>
    
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>com.github.siom79.japicmp</groupId>
            <artifactId>japicmp-maven-plugin</artifactId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. api/maven-api-plugin/pom.xml

          <artifactId>maven-api-xml</artifactId>
        </dependency>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <executions>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. cmd/api-errors_test.go

    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode)
    		}
    	}
    }
    
    // Check if an API error is properly defined
    func TestAPIErrCodeDefinition(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top