Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,280 for bread (0.17 sec)

  1. internal/s3select/simdj/reader_amd64_test.go

    				}
    			}
    			refDec := json.NewReader(io.NopCloser(bytes.NewBuffer(ref)), &json.ReaderArgs{ContentType: "json"})
    
    			for {
    				rec, err := dec.Read(nil)
    				if err == io.EOF {
    					break
    				}
    				if err != nil {
    					t.Error(err)
    				}
    				want, err := refDec.Read(nil)
    				if err != nil {
    					t.Error(err)
    				}
    				var gotB, wantB bytes.Buffer
    				opts := sql.WriteCSVOpts{
    					FieldDelimiter: ',',
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    SmbFile.dfs.insert(req.path, dr);
                    throw dr;
                case 0x80000005:  /* STATUS_BUFFER_OVERFLOW */
                    break; /* normal for DCERPC named pipes */
                case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED:
                    break; /* normal for NTLMSSP */
                default:
                    throw new SmbException( resp.errorCode, null );
            }
            if (resp.verifyFailed) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LineReader.java

          // The default implementation of Reader#read(CharBuffer) allocates a
          // temporary char[], so we call Reader#read(char[], int, int) instead.
          int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf);
          if (read == -1) {
            lineBuf.finish();
            break;
          }
          lineBuf.add(buf, 0, read);
        }
        return lines.poll();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

            if ( off + len > b.length ) {
                throw new IOException("Buffer too short, bufsize " + b.length + " read " + len);
            }
    
            while ( i < len ) {
                n = in.read(b, off + i, len - i);
                if ( n <= 0 ) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
        /*
         * state values
         * 0 - not connected
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MimeMap.java

                        }
                        break;
                    case ST_COMM:
                        if( ch == '\n' ) {
                            t = x = i = 0;
                            state = ST_START;
                        }
                        break;
                    case ST_GAP:
                        if( ch == ' ' || ch == '\t' ) {
                            break;
                        }
                        state = ST_EXT;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  6. cmd/streaming-v4-unsigned.go

    	"bytes"
    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    )
    
    // newUnsignedV4ChunkedReader returns a new s3UnsignedChunkedReader that translates the data read from r
    // out of HTTP "chunked" format before returning it.
    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	if trailer {
    		// Discard anything unsigned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

                        break; /* outstanding requests */
                    }
                    try {
                        doDisconnect( hard );
                    } catch (IOException ioe0) {
                        ioe = ioe0;
                    }
                case 4: /* in error - reset the transport */
                    thread = null;
                    state = 0;
                    break;
                default:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  8. cmd/tier-journal.go

    		return nil
    	}
    
    	return errors.New("no local drive found")
    }
    
    // rotate rotates the journal. If a read-only journal already exists it does
    // nothing. Otherwise renames the active journal to a read-only journal and
    // opens a new active journal.
    func (jd *tierDiskJournal) rotate() error {
    	// Do nothing if a read-only journal file already exists.
    	if _, err := os.Stat(jd.ReadOnlyPath()); err == nil {
    		return nil
    	}
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/bufio/scan.go

    				break
    			}
    			if n > 0 {
    				s.empties = 0
    				break
    			}
    			loop++
    			if loop > maxConsecutiveEmptyReads {
    				s.setErr(io.ErrNoProgress)
    				break
    			}
    		}
    	}
    }
    
    // advance consumes n bytes of the buffer. It reports whether the advance was legal.
    func (s *Scanner) advance(n int) bool {
    	if n < 0 {
    		s.setErr(ErrNegativeAdvance)
    		return false
    	}
    	if n > s.end-s.start {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

            while (true) {
              val toSkip = currentPartBytesRemaining(maxResult = 8192)
              if (toSkip == 0L) break
              source.skip(toSkip)
            }
            source.skip(crlfDashDashBoundary.size.toLong())
          }
    
          // Read either \r\n or --\r\n to determine if there is another part.
          var whitespace = false
          afterBoundaryLoop@while (true) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
Back to top