Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2571 - 2580 of 3,649 for Code (0.08 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code add(int, Object)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/testing.md

    │   ├── main.py
    │   └── test_main.py
    ```
    
    Digamos que agora o arquivo `main.py` com seu aplicativo **FastAPI** tenha algumas outras **operações de rotas**.
    
    Ele tem uma operação `GET` que pode retornar um erro.
    
    Ele tem uma operação `POST` que pode retornar vários erros.
    
    Ambas as *operações de rotas* requerem um cabeçalho `X-Token`.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a NavigableMap. Can't be invoked directly; please
     * see {@code NavigableMapTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code UnsignedLong}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class UnsignedLongTest extends TestCase {
      private static final ImmutableSet<Long> TEST_LONGS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/batch-handlers_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBatchJobPrefix(t *testing.T) {
    	v := BatchJobPrefix{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. cmd/bootstrap-peer-server_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *ServerSystemConfig) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    				URL:    &url.URL{},
    			}
    			req.Header.Set("Authorization", testCase.authString)
    			_, actualErrCode := validateV2AuthHeader(req)
    
    			if testCase.expectedError != actualErrCode {
    				t.Errorf("Expected the error code to be %v, got %v.", testCase.expectedError, actualErrCode)
    			}
    		})
    	}
    }
    
    func TestDoesPolicySignatureV2Match(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. cmd/local-locker_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshallocalLockMap(t *testing.T) {
    	v := localLockMap{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

        <!-- We like it explicit -->
        <suppress checks="ExplicitInitializationCheck"
                  files=".*"/>
    
        <!-- Ignore code from maven subproject under org.apache -->
        <suppress checks="RegexpSingleline"
                  files=".*[/\\]maven[/\\]src[/\\]main[/\\]java[/\\]org[/\\]apache[/\\].+"/>
        <suppress checks="RegexpHeader"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. docs/en/data/external_links.yml

    https://www.linkedin.com/in/mnrozhkov/ link: https://www.evidentlyai.com/blog/fastapi-tutorial title: ML serving and monitoring with FastAPI and Evidently - author: Visual Studio Code Team author_link: https://code.visualstudio.com/ link: https://code.visualstudio.com/docs/python/tutorial-fastapi title: FastAPI Tutorial in Visual Studio Code - author: Apitally author_link: https://apitally.io link: https://blog.apitally.io/fastapi-application-monitoring-made-easy title: FastAPI application monitoring made easy...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:39:34 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top