Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 536 for While (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        public static final int FILE_SHARE_READ = 0x01;
        /**
         * When specified as the {@code shareAccess} constructor parameter,
         * other SMB clients will be permitted to write to the target file while
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

         * performs blocking reads for the incoming bytes.
         */
        @Throws(IOException::class)
        internal fun receive(
          source: BufferedSource,
          byteCount: Long,
        ) {
          assertLockNotHeld()
    
          var remainingByteCount = byteCount
    
          while (remainingByteCount > 0L) {
            val finished: Boolean
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          return !tasks.isEmpty();
        }
    
        void runNext() {
          assertTrue("expected at least one task to run", hasNext());
          tasks.remove().run();
        }
    
        void runAll() {
          while (hasNext()) {
            runNext();
          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
      public void setUp() {
        fakePool = new FakeExecutor();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      }
    
      @Test
      fun rebuildJournalOnRepeatedReads() {
        set("a", "a", "a")
        set("b", "b", "b")
        while (taskFaker.isIdle()) {
          assertValue("a", "a", "a")
          assertValue("b", "b", "b")
        }
      }
    
      @Test
      fun rebuildJournalOnRepeatedEdits() {
        while (taskFaker.isIdle()) {
          set("a", "a", "a")
          set("b", "b", "b")
        }
        taskFaker.runNextTask()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/Lmhosts.java

                            b = b * 10 + c - '0';
                        }
                        ip = (ip << 8) + b;
                    }
                    while (i < data.length && Character.isWhitespace(data[i])) {
                        i++;
                    }
                    j = i;
                    while (j < data.length && !Character.isWhitespace(data[j])) {
                        j++;
                    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              latch.await();
              return;
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        @Override
        public synchronized int read(final byte[] b, int off, int len) throws IOException {
            if (len == 0) {
                return 0;
            }
            int tot = 0;
    
            while (true) {
                while (bip > 0) {
                    n = in.read(b, off, Math.min(len, bip));
                    if (n == -1) {
                        return tot > 0 ? tot : -1;
                    }
                    tot += n;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            while (properties.hasNext()) {
                final Map.Entry property = (Map.Entry) properties.next();
                final String key = (String) property.getKey();
                final StringBuilder value = new StringBuilder();
                final Iterator values = ((List) property.getValue()).iterator();
                while (values.hasNext()) {
                    value.append(values.next());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                if (i == len || path.charAt(i) == '\\') {
                    result[ri] = path.substring(b, i);
                    ri++;
                    b = i + 1;
                }
            } while (i++ < len);
    
            while (ri < result.length) {
                result[ri] = "";
                ri++;
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

       * it does.
       *
       * @throws IOException if an I/O error occurs while reading from this source
       */
      public ImmutableList<String> readLines() throws IOException {
        Closer closer = Closer.create();
        try {
          BufferedReader reader = closer.register(openBufferedStream());
          List<String> result = new ArrayList<>();
          String line;
          while ((line = reader.readLine()) != null) {
            result.add(line);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top