Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 467 for readFile (0.06 sec)

  1. guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> lines = Lists.newArrayList();
        String line;
        while ((line = r.readLine()) != null) {
          lines.add(line);
        }
        return lines;
      }
    
      // Returns a Readable that is *not* a Reader.
      private static Readable getChunkedReadable(String input, int chunk) {
        final Reader reader = getChunkedReader(input, chunk);
        return new Readable() {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    
            int r, n;
            SmbComReadAndXResponse response = new SmbComReadAndXResponse( b, off );
            do {
                r = len > readSize ? readSize : len;
                file.send( new SmbComReadAndX( file.fid, fp, r, null ), response );
                if(( n = response.dataLength ) <= 0 ) {
                    return (int)((fp - start) > 0L ? fp - start : -1);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

          return reader.readLine();
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads all the lines of this source as a list of strings. The returned list will be empty if
       * this source is empty.
       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                }
    
                try ( SmbFileHandle h = ensureOpen() ) {}
                this.readSize = th.getReceiveBufferSize() - 70;
                this.writeSize = th.getSendBufferSize() - 70;
    
                if ( th.hasCapability(SmbConstants.CAP_LARGE_READX) ) {
                    this.largeReadX = true;
                    this.readSize = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  5. cmd/batch-handlers_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "JobType")
    				return
    			}
    		case "st":
    			z.StartTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    			}
    		case "lu":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "ra":
    			z.RetryAttempts, err = dc.ReadInt()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. schema/field_test.go

    		{Name: "Name", DBName: "", BindNames: []string{"Name"}, DataType: "", Tag: `gorm:"-"`, Creatable: false, Updatable: false, Readable: false},
    		{Name: "Name2", DBName: "name2", BindNames: []string{"Name2"}, DataType: schema.String, Tag: `gorm:"->"`, Creatable: false, Updatable: false, Readable: true},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "startTs":
    			z.StartTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    			}
    		case "stopTs":
    			z.EndTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "EndTime")
    				return
    			}
    		case "status":
    			{
    				var zb0002 uint8
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSink.java

       * Writes all the text from the given {@link Readable} (such as a {@link Reader}) to this sink.
       * Does not close {@code readable} if it is {@code Closeable}.
       *
       * @return the number of characters written
       * @throws IOException if an I/O error occurs while reading from {@code readable} or writing to
       *     this sink
       */
      @CanIgnoreReturnValue
      public long writeFrom(Readable readable) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. schema/schema_test.go

    					Tag: `gorm:"primarykey"`, Creatable: true, Updatable: true, Readable: true, PrimaryKey: true, Size: 64,
    				},
    				{
    					Name: "LanguageCode", DBName: "language_code", BindNames: []string{"LanguageCode"}, DataType: schema.String,
    					Tag: `gorm:"primarykey"`, Creatable: true, Updatable: true, Readable: true, PrimaryKey: true,
    				},
    			}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            bufferIndex += 4;
            this.creationTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.changeTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
Back to top