Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,622 for Length (0.07 sec)

  1. src/main/java/org/codelibs/curl/CurlResponse.java

                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
                while (length != -1) {
                    if (length != 0) {
                        baos.write(bytes, 0, length);
                    }
                    length = bis.read(bytes);
                }
                return baos.toString(encoding);
            } catch (final Exception e) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            multiset1.add("only1");
            multiset2.add("only2");
            for (int i = 0; i < elements.length; i++) {
              multiset1.add(elements[i]);
              multiset2.add(elements[elements.length - 1 - i]);
            }
            if (elements.length > 0) {
              multiset1.add(elements[0]);
            }
            if (elements.length > 1) {
              /*
               * When a test requests a multiset with duplicates, our plan of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2));
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2));
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            parameterTypes = method.getParameterTypes();
            returnType = method.getReturnType();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterizedClassDescs[i] = ParameterizedClassDescFactory.createParameterizedClassDesc(method, i, beanDesc.getTypeVariables());
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                size += 4 + p.getRaw().length;
            }
            size += 4;
    
            byte[] enc = new byte[size];
            int pos = 0;
            for ( AvPair p : pairs ) {
                byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
                SMBUtil.writeInt2(raw.length, enc, pos + 2);
                System.arraycopy(raw, 0, enc, pos + 4, raw.length);
                pos += 4 + raw.length;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          )
          request.isChunked -> newChunkedSink() // Stream a request body of unknown length.
          contentLength != -1L -> newKnownLengthSink() // Stream a request body of a known length.
          else -> // Stream a request body of a known length.
            throw IllegalStateException(
              "Cannot stream a request body without chunked encoding or a known content length!",
            )
        }
      }
    
      override fun cancel() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                                        dst, dstIndex, str.length() * 2 );
                    dstIndex += str.length() * 2;
                    dst[dstIndex++] = (byte)'\0';
                    dst[dstIndex++] = (byte)'\0';
                } else {
                    byte[] b = str.getBytes( OEM_ENCODING );
                    System.arraycopy( b, 0, dst, dstIndex, b.length );
                    dstIndex += b.length;
                    dst[dstIndex++] = (byte)'\0';
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
        public long getFilePointer() throws SmbException {
            return fp;
        }
        public void seek( long pos ) throws SmbException {
            fp = pos;
        }
        public long length() throws SmbException {
            return file.length();
        }
        public void setLength( long newLength ) throws SmbException {
            // ensure file is open
            if( file.isOpen() == false ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            private String appendPath(String parentUrl, String childPath, String pathAdjustment) {
                StringBuilder url = new StringBuilder(parentUrl.length()
                        + pathAdjustment.length()
                        + childPath.length()
                        + ((pathAdjustment.length() == 0) ? 1 : 2));
    
                url.append(parentUrl);
                concatPath(url, pathAdjustment);
                concatPath(url, childPath);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top