Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,378 for while (0.02 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            length = Encdec.dec_uint16le(buf, 8);
            if (length > max_recv)
                throw new IOException("Unexpected fragment length: " + length);
    
            while (off < length) {
                off += in.readDirect(buf, off, length - off);
            }
        }
        public void close() throws IOException {
            state = 0;
            if (out != null)
                out.close();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  2. cmd/xl-storage_windows_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to create a file that includes a file in its path components.
    	// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error.
    	err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
    	if err != errFileAccessDenied {
    		t.Errorf("expected: %s, got: %s", errFileAccessDenied, err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        return false;
                    }
                    return ff.accept((SmbFile) resource);
                }
            }) ) {
    
                List<String> list = new ArrayList<>();
                while ( it.hasNext() ) {
                    try ( SmbResource n = it.next() ) {
                        list.add(n.getName());
                    }
                }
                return list.toArray(new String[list.size()]);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ReadWriteTest.java

            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = getRandom();
            while ( p < length ) {
    
                int rs = Math.min(bufSize, (int) ( length - p ));
                int read = is.read(buffer, 0, rs);
                if ( read < 0 ) {
                    fail("Unexpected EOF at " + p);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

          return 0;
        }
    
        // The rest of this method implements the process described by the CharsetEncoder javadoc.
        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite candidateTests = new TestSuite(testerClass);
        TestSuite suite = filterSuite(candidateTests);
    
        Enumeration<?> allTests = suite.tests();
        while (allTests.hasMoreElements()) {
          Object test = allTests.nextElement();
          if (test instanceof AbstractTester) {
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/AbstractCache.java

       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
      @Override
      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
        Map<K, V> result = Maps.newLinkedHashMap();
        for (Object key : keys) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/ReaderInputStream.java

          return 0;
        }
    
        // The rest of this method implements the process described by the CharsetEncoder javadoc.
        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/DisposableUtil.java

            assertArgumentNotNull("disposable", disposable);
            disposables.remove(disposable);
        }
    
        /**
         * 登録済みのリソースを全て破棄します。
         */
        public static synchronized void dispose() {
            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top