Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 7,650 for aclass (0.19 sec)

  1. android/guava-tests/test/com/google/common/base/VerifyTest.java

    import junit.framework.TestCase;
    
    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible(emulated = true)
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        assertThrows(VerifyException.class, () -> verify(false));
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionToArrayTester<E> extends AbstractCollectionTester<E> {
      public void testToArray_noArgs() {
        Object[] array = collection.toArray();
        expectArrayContentsAnyOrder(createSamplesArray(), array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

    import okio.Path
    import okio.buffer
    import okio.source
    
    abstract class RequestBody {
      /** Returns the Content-Type header for this body. */
      abstract fun contentType(): MediaType?
    
      /**
       * Returns the number of bytes that will be written to sink in a call to [writeTo],
       * or -1 if that count is unknown.
       */
      @Throws(IOException::class)
      open fun contentLength(): Long = commonContentLength()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

    import jcifs.DfsReferralData;
    import jcifs.internal.smb1.trans2.Trans2GetDfsReferralResponse;
    
    
    /**
     * @author mbechler
     *
     */
    public class DfsReferralDataImpl implements DfsReferralDataInternal {
    
        private static final Logger log = LoggerFactory.getLogger(DfsReferralDataImpl.class);
    
        private int pathConsumed;
        private long ttl;
        private String server; // Server
        private String share; // Share
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial004.py

    from typing import Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 653 bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.getFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class", "Abstract method has been added to this class"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    	"strings"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/jwt"
    )
    
    const (
    	// Minimum length for MinIO access key.
    	accessKeyMinLen = 3
    
    	// Maximum length for MinIO access key.
    	// There is no max length enforcement for access keys
    	accessKeyMaxLen = 20
    
    	// Minimum length for MinIO secret key for both server
    	secretKeyMinLen = 8
    
    	// Maximum secret key length for MinIO, this
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
        testers.add(ListMultimapAsMapTester.class);
        testers.add(ListMultimapEqualsTester.class);
        testers.add(ListMultimapPutTester.class);
        testers.add(ListMultimapPutAllTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. docs_src/body_multiple_params/tutorial004_an.py

    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 703 bytes
    - Viewed (0)
Back to top