Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 3,731 for qint (0.03 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapHashCodeTester<K, V> extends AbstractMapTester<K, V> {
      public void testHashCode() {
        int expectedHashCode = 0;
        for (Entry<K, V> entry : getSampleEntries()) {
          expectedHashCode += hash(entry);
        }
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashingOutputStream.java

        super(checkNotNull(out));
        this.hasher = checkNotNull(hashFunction.newHasher());
      }
    
      @Override
      public void write(int b) throws IOException {
        hasher.putByte((byte) b);
        out.write(b);
      }
    
      @Override
      public void write(byte[] bytes, int off, int len) throws IOException {
        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs_src/path_params_numeric_validations/tutorial004_an.py

    from fastapi import FastAPI, Path
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=1)], q: str
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 327 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/InputStreamThread.java

        private static final Logger logger = LogManager.getLogger(InputStreamThread.class);
    
        private final BufferedReader br;
    
        public static final int MAX_BUFFER_SIZE = 1000;
    
        private final List<String> list = new LinkedList<>();
    
        private final int bufferSize;
    
        private final Consumer<String> outputCallback;
    
        @Deprecated
        public InputStreamThread(final InputStream is, final String charset) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

      }
    
      public void testAllocArraysExpectedSize() {
        for (int i = 0; i <= CompactHashing.DEFAULT_SIZE; i++) {
          CompactHashSet<Integer> set = CompactHashSet.createWithExpectedSize(i);
          assertThat(set.needsAllocArrays()).isTrue();
          assertThat(set.elements).isNull();
    
          set.add(1);
          assertThat(set.needsAllocArrays()).isFalse();
          int expectedSize = max(1, i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportInternal.java

    public interface SmbTransportInternal extends SmbTransport {
    
        /**
         * @param cap
         * @return whether the transport has the given capability
         * @throws SmbException
         */
        boolean hasCapability ( int cap ) throws SmbException;
    
    
        /**
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected ();
    
    
        /**
         * @param hard
         * @param inuse
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                    throw new PACDecodingException("Not a kerberos token");
    
    
                // yes, there really is non ASN.1/DER data inside the tagged object
                int read = 0;
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                read = ( readHigh << 8 ) + readLow;
                if ( read != 0x01 )
                    throw new PACDecodingException("Malformed kerberos token");
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. docs_src/settings/app02/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 159 bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

    class ConnectPlan(
      private val taskRunner: TaskRunner,
      private val connectionPool: RealConnectionPool,
      private val readTimeoutMillis: Int,
      private val writeTimeoutMillis: Int,
      private val socketConnectTimeoutMillis: Int,
      private val socketReadTimeoutMillis: Int,
      private val pingIntervalMillis: Int,
      private val retryOnConnectionFailure: Boolean,
      private val user: ConnectionUser,
      private val routePlanner: RealRoutePlanner,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial001_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 404 bytes
    - Viewed (0)
Back to top