Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 122 for EOF (0.02 sec)

  1. cmd/storage-rest-server.go

    			return err
    		}
    		// Check if we have a response ready or a filler byte.
    		switch tmp[0] {
    		case 0:
    			// 0 is unbuffered, copy the rest.
    			_, err := io.CopyBuffer(w, respBody, buf)
    			if err == io.EOF {
    				return nil
    			}
    			return err
    		case 1:
    			errorText, err := io.ReadAll(respBody)
    			if err != nil {
    				return err
    			}
    			return errors.New(string(errorText))
    		case 2:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                        this.socket.close();
                    } catch (final IOException ioe) {
                        log.debug("Failed to close socket", ioe);
                    }
                    throw new SmbException("EOF during NetBIOS session request");
                }
                switch (this.sbuf[0] & 0xFF) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if (log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		opts.BaseDir = prefix
    		opts.Transient = true
    	}
    
    	// set bucket metadata in opts
    	opts.setBucketMeta(ctx)
    
    	merged, err := z.listPath(ctx, &opts)
    	if err != nil && err != io.EOF {
    		if !isErrBucketNotFound(err) {
    			storageLogOnceIf(ctx, err, "erasure-list-objects-path-"+bucket)
    		}
    		return loi, toObjectErr(err, bucket)
    	}
    	defer merged.truncate(0) // Release when returning
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    		// values appropriately.
    		d.partEncRelOffset = 0
    		d.partDecRelOffset = 0
    		d.startSeqNum = 0
    
    		d.partIndex++
    		if d.partIndex == len(d.parts) {
    			return n1, io.EOF
    		}
    
    		err = d.buildDecrypter(d.parts[d.partIndex].Number)
    		if err != nil {
    			return 0, err
    		}
    
    		n1, err = d.decrypter.Read(p[n1:])
    		if err != nil {
    			return 0, err
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	connectTime := time.Now()
    	ctx := newContext(r, w, "DevNull")
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		atomic.AddUint64(&globalNetPerfRX.RX, uint64(n))
    		if err != nil && err != io.EOF {
    			// If there is a disconnection before globalNetPerfMinDuration (we give a margin of error of 1 sec)
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	defer cancel()
    	totalRx := int64(0)
    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    			if time.Since(connectTime) < (globalNetPerfMinDuration - time.Second) {
    				adminLogIf(ctx, err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    			// Extend since we have enough space.
    			buf = buf[:n]
    		} else {
    			buf = append(buf, make([]byte, extra)...)
    		}
    		_, err := io.ReadFull(r, buf[has:])
    		if err != nil {
    			if errors.Is(err, io.EOF) {
    				// Returned if we read nothing.
    				err = io.ErrUnexpectedEOF
    			}
    			return fmt.Errorf("readXLMetaNoData(readMore): %w", err)
    		}
    		return nil
    	}
    	tmp, major, minor, err := checkXL2V1(buf)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb/SmbFile.java

                    // otherwise there are no guarantees anyway, but this stuff is legacy anyways.
                    final SmbComSeek seekReq = new SmbComSeek(config, 0);
                    seekReq.setMode(0x2); // from EOF
                    final SmbComSeekResponse seekResp = new SmbComSeekResponse(config);
                    seekReq.setFid(response.getFid());
                    try {
                        h.send(seekReq, seekResp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. doc/go_spec.html

    constant, even if the literal's fractional part is zero.
    </p>
    
    <pre>
    const Pi float64 = 3.14159265358979323846
    const zero = 0.0         // untyped floating-point constant
    const (
    	size int64 = 1024
    	eof        = -1  // untyped integer constant
    )
    const a, b, c = 3, 4, "foo"  // a = 3, b = 4, c = "foo", untyped integer and string constants
    const u, v float32 = 0, 3    // u = 0.0, v = 3.0
    </pre>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  10. RELEASE.md

        *   Changing signature of `MakeIterator` to enable propagating error status.
        *   KL divergence for two Dirichlet distributions.
        *   More consistent GcsFileSystem behavior for certain reads past EOF.
        *   Update benchmark for tf.scan to match ranges across eager and graph
            modes.
        *   Fixed bug in `tf.reduce_prod gradient` for complex dtypes.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
Back to top