Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2171 - 2180 of 2,938 for comp (0.03 sec)

  1. tests/test_tutorial/test_custom_response/test_tutorial006.py

    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/typer", follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://typer.tiangolo.com"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

      }
    
      @Test fun testMultipleParameters() {
        val mediaType = parse("Message/Partial; number=2; total=3; id=\"oc=abc@example.com\"")
        assertEquals("2", mediaType.parameter("number"))
        assertEquals("3", mediaType.parameter("total"))
        assertEquals("oc=abc@example.com", mediaType.parameter("id"))
        assertNull(mediaType.parameter("foo"))
      }
    
      @Test fun testRepeatedParameter() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Comparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Utf8.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static java.lang.Character.MAX_SURROGATE;
    import static java.lang.Character.MIN_SURROGATE;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/eventbus/Dispatcher.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.eventbus;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.Queues;
    import java.util.Iterator;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. docs/zh/docs/contributing.md

    #### 建议和指南
    
    * 在当前 <a href="https://github.com/fastapi/fastapi/pulls" class="external-link" target="_blank">已有的 pull requests</a> 中查找你使用的语言,添加要求修改或同意合并的评审意见。
    
    /// tip
    
    你可以为已有的 pull requests <a href="https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request" class="external-link" target="_blank">添加包含修改建议的评论</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwks_test.go

    BaHftUHfpdTvrgmXSP0IJn7mCUq27g+hFk7n/MLbN1k8JswEODIgdMRvGqN+mnrPKkviWmcVAZccsWfcmS1pKwXqICTKzd6WmVdz+cL7ZSd9I2X0pY4oRwauoE2bS95vrXljCYgLArI3XB2QcnglDDBRYu3Z3aIJb26PTIyhkVKT7xaXhXl4OgrbmQon9/O61G2dzpjzzBPqNP","issuer":"https://login.microsoftonline.com/906aefe9-76a7-4f65-b82d-5ec20775d5aa/v2.0"},{"kty":"RSA","use":"sig","kid":"huN95IvPfehq34GzBDZ1GXGirnM","x5t":"huN95IvPfehq34GzBDZ1GXGirnM","n":"6lldKm5Rc_vMKa1RM_TtUv3tmtj52wLRrJqu13yGM3_h0dwru2ZP53y65wDfz6_tLCjoYuRCuVsjoW37-0zXUORJvZ0L90CAX-58lW...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  8. docs_src/response_model/tutorial003_04_py310.py

    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 352 bytes
    - Viewed (0)
  9. docs/sts/ldap.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"context"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/url"
    	"os"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	// LDAP integrated Minio endpoint
    	stsEndpoint string
    
    	// LDAP credentials
    	ldapUsername string
    	ldapPassword string
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link ImmutableNetwork}. */
    @RunWith(JUnit4.class)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
Back to top