Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for Seek (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        BlockingQueue<String> queue = new ArrayBlockingQueue<>(999);
        putUninterruptibly(queue, "");
        assertTimeNotPassed(stopwatch, LONG_DELAY_MS);
        assertEquals("", queue.peek());
      }
    
      public void testPutNoInterrupt() {
        TimedPutQueue queue = TimedPutQueue.createWithDelay(20);
        queue.putSuccessfully();
        assertNotInterrupted();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        public static final byte NET_SERVER_ENUM2 = (byte) 0x68;
        /**
         * 
         */
        public static final byte NET_SERVER_ENUM3 = (byte) 0xD7;
    
        /**
         * 
         */
        public static final byte TRANS_PEEK_NAMED_PIPE = (byte) 0x23;
        /**
         * 
         */
        public static final byte TRANS_WAIT_NAMED_PIPE = (byte) 0x53;
        /**
         * 
         */
        public static final byte TRANS_CALL_NAMED_PIPE = (byte) 0x54;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 13:43:42 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            if (method.changeStatus == JApiChangeStatus.REMOVED) {
                return false
            }
            // @Override has source retention - so we need to peek into the sources
            return repository.isOverride(method)
        }
    
        Violation acceptOrReject(JApiCompatibility member, Violation rejection) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        static final int NET_SHARE_ENUM   = 0x0000;
        static final int NET_SERVER_ENUM2 = 0x0068;
        static final int NET_SERVER_ENUM3 = 0x00D7;
    
        static final byte TRANS_PEEK_NAMED_PIPE     = (byte)0x23;
        static final byte TRANS_WAIT_NAMED_PIPE     = (byte)0x53;
        static final byte TRANS_CALL_NAMED_PIPE     = (byte)0x54;
        static final byte TRANS_TRANSACT_NAMED_PIPE = (byte)0x26;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.5K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

            delegate.put(element)
            editCount++
          }
        }
    
        override fun iterator() = error("unsupported")
    
        override fun offer(e: T) = error("unsupported")
    
        override fun peek(): T = error("unsupported")
    
        override fun offer(
          element: T,
          timeout: Long,
          unit: TimeUnit,
        ) = error("unsupported")
    
        override fun take() = error("unsupported")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/QueuesTest.java

      }
    
      /** Checks that #drain() invocations behave correctly for a drained (empty) queue. */
      private void assertDrained(BlockingQueue<Object> q) {
        assertNull(q.peek());
        assertInterruptibleDrained(q);
        assertUninterruptibleDrained(q);
      }
    
      private void assertInterruptibleDrained(BlockingQueue<Object> q) {
        // nothing to drain, thus this should wait doing nothing
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Response.kt

       * a modest limit on `byteCount`, such as 1 MiB.
       */
      @Throws(IOException::class)
      fun peekBody(byteCount: Long): ResponseBody {
        val peeked = body.source().peek()
        val buffer = Buffer()
        peeked.request(byteCount)
        buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
        return buffer.asResponseBody(body.contentType(), buffer.size)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. cmd/s3-zip-handlers.go

    	archiveTypeMetadataKey = ReservedMetadataPrefixLower + "archive-type" // "x-minio-internal-archive-type"
    	archiveInfoMetadataKey = ReservedMetadataPrefixLower + "archive-info" // "x-minio-internal-archive-info"
    
    	// Peek into a zip archive
    	xMinIOExtract = "x-minio-extract"
    )
    
    // splitZipExtensionPath splits the S3 path to the zip file and the path inside the zip:
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
    
        assertEquals(5, queue.peek().intValue());
        assertEquals(5, consumingIterator.next().intValue());
    
        assertEquals(14, queue.peek().intValue());
        assertTrue(consumingIterator.hasNext());
        assertTrue(queue.isEmpty());
      }
    
      public void testConsumingIterable_noIteratorCall() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      fun dispatcherFromMockWebServer() {
        val dispatcher =
          object : okhttp3.mockwebserver.Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse = TODO()
    
            override fun peek(): MockResponse = TODO()
    
            override fun shutdown() = TODO()
          }
      }
    
      @Test
      fun dns() {
        var dns: Dns = Dns { TODO() }
    
        val system: Dns = Dns.SYSTEM
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
Back to top