Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 169 for thelong (0.09 sec)

  1. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val certificatePinner: CertificatePinner? = address.certificatePinner()
      }
    
      @Test @Disabled
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        val directory: File = cache.directory()
      }
    
      @Test @Disabled
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. api/maven-api-model/src/main/mdo/maven.mdo

              <code>
                <![CDATA[
        /**
         * Gets the POM file for the corresponding project (if any).
         *
         * @return The POM file from which this model originated or {@code null} if this model does not belong to a local
         *         project (e.g. describes the metadata of some artifact from the repository).
         */
        @Deprecated
        public java.io.File getPomFile() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            if (pluginArtifactRepositories == null) {
                pluginArtifactRepositories = new ArrayList<>();
            }
            return pluginArtifactRepositories;
        }
    
        // TODO this does not belong here.
        @Override
        public ProjectBuildingRequest getProjectBuildingRequest() {
            if (projectBuildingRequest == null) {
                projectBuildingRequest = new DefaultProjectBuildingRequest();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashCode.java

        public long asLong() {
          throw new IllegalStateException("this HashCode only has 32 bits; cannot create a long");
        }
    
        @Override
        public long padToLong() {
          return UnsignedInts.toLong(hash);
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
          for (int i = 0; i < maxLength; i++) {
            dest[offset + i] = (byte) (hash >> (i * 8));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      @Test
      fun authenticator() {
        var authenticator: Authenticator = Authenticator { route, response -> TODO() }
      }
    
      @Test
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        cache.initialize()
        cache.delete()
        cache.evictAll()
        val urls: MutableIterator<String> = cache.urls()
        val writeAbortCount: Int = cache.writeAbortCount()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          fun readByteString(): ByteString {
            val firstByte = readByte()
            val huffmanDecode = firstByte and 0x80 == 0x80 // 1NNNNNNN
            val length = readInt(firstByte, PREFIX_7_BITS).toLong()
    
            return if (huffmanDecode) {
              val decodeBuffer = Buffer()
              Huffman.decode(source, length, decodeBuffer)
              decodeBuffer.readByteString()
            } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            listener = listener,
            random = Random(),
            pingIntervalMillis = pingIntervalMillis.toLong(),
            // extensions is always null for clients:
            extensions = null,
            minimumDeflateSize = minWebSocketMessageToCompress,
            webSocketCloseTimeout = webSocketCloseTimeout.toLong(),
          )
        webSocket.connect(this)
        return webSocket
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

                    var bytesWritten: Long = 0
                    while (bytesWritten < contentLength) {
                      val byteCount = Math.min(buffer.size.toLong(), contentLength - bytesWritten).toInt()
                      bytesWritten += byteCount.toLong()
                      sink.write(buffer, 0, byteCount)
                    }
                  }
                },
            ),
          )
        assertContent("", response)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

         *
         * @throws NumberFormatException if [s] is not an integer of any precision.
         */
        private fun parseMaxAge(s: String): Long {
          try {
            val parsed = s.toLong()
            return if (parsed <= 0L) Long.MIN_VALUE else parsed
          } catch (e: NumberFormatException) {
            // Check if the value is an integer (positive or negative) that's too big for a long.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         * searched for the lates blank line. This line will mark the end of the
         * header comment. The return value is the index of the first line in the
         * passed in list, which does not belong to the header comment.
         *
         * @param commentLines the comment lines
         * @return the index of the next line after the header comment
         */
        private int checkHeaderComment(List<String> commentLines) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top