Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 1,543 for result1 (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

          }
        }
      }
    
      private fun readJournalLines(): List<String> {
        val result = mutableListOf<String>()
        filesystem.read(journalFile) {
          while (true) {
            val line = readUtf8Line() ?: break
            result.add(line)
          }
        }
        return result
      }
    
      private fun getCleanFile(
        key: String,
        index: Int,
      ) = cacheDir / "$key.$index"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. internal/s3select/select.go

    				bufPool.Put(buf)
    				return false
    			}
    			if buf.Len()-before > maxRecordSize {
    				writer.FinishWithError("OverMaxRecordSize", "The length of a record in the input or result is greater than maxCharsPerRecord of 1 MB.")
    				bufPool.Put(buf)
    				return false
    			}
    		}
    
    		if err = writer.SendRecord(buf); err != nil {
    			// FIXME: log this error.
    			err = nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/IntMathTest.java

            expectedMean,
            computeMeanSafely(x, y));
        assertMean(x, y);
      }
    
      /**
       * Helper method that asserts the arithmetic mean of x and y is equal to the result of
       * computeMeanSafely.
       */
      private static void assertMean(int x, int y) {
        int expectedMean = computeMeanSafely(x, y);
        assertEquals(expectedMean, IntMath.mean(x, y));
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. cmd/api-router.go

    	traceHdrsS3HFlag
    
    	// when provided, disables throttling via the `maxClients` middleware.
    	noThrottleS3HFlag
    )
    
    func (h s3HFlag) has(flag s3HFlag) bool {
    	// Use bitwise-AND and check if the result is non-zero.
    	return h&flag != 0
    }
    
    // s3APIMiddleware - performs some common handler functionality for S3 API
    // handlers.
    //
    // It is set per-"handler function registration" in the router to allow for
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    			g.cleanUpFns[i]()
    		}
    	})
    	return nil
    }
    
    // compressionIndexEncrypter returns a function that will read data from input,
    // encrypt it using the provided key and return the result.
    func compressionIndexEncrypter(key crypto.ObjectKey, input func() []byte) func() []byte {
    	var data []byte
    	var fetched bool
    	return func() []byte {
    		if !fetched {
    			data = input()
    			fetched = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CacheTest.kt

        }
      }
    
      /** Returns a gzipped copy of `bytes`.  */
      fun gzip(data: String): Buffer {
        val result = Buffer()
        val sink = GzipSink(result).buffer()
        sink.writeUtf8(data)
        sink.close()
        return result
      }
    
      companion object {
        private val NULL_HOSTNAME_VERIFIER = HostnameVerifier { hostname, session -> true }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    /*
                     * Java cannot determine the localhost. This is basically a config
                     * issue on the host. There's not much we can do about it. Just
                     * to suppress NPEs that would result we can create a possibly bogus
                     * address. Pretty sure the below cannot actually thrown a UHE tho.
                     */
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

              @Override
              public String toString() {
                return callable.toString();
              }
            };
        /*
         * Four futures are at play here:
         * taskFuture is the future tracking the result of the callable.
         * newFuture is a future that completes after this and all prior tasks are done.
         * oldFuture is the previous task's newFuture.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. licenses/sigs.k8s.io/yaml/LICENSE

          negligent acts) or agreed to in writing, shall any Contributor be
          liable to You for damages, including any direct, indirect, special,
          incidental, or consequential damages of any character arising as a
          result of this License or out of the use or inability to use the
          Work (including but not limited to damages for loss of goodwill,
          work stoppage, computer failure or malfunction, or any and all
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 19:53:28 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top