Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 256 for semakin (0.17 sec)

  1. src/bufio/bufio.go

    		return
    	}
    
    	b.lastByte = -1
    	b.lastRuneSize = -1
    
    	remain := n
    	for {
    		skip := b.Buffered()
    		if skip == 0 {
    			b.fill()
    			skip = b.Buffered()
    		}
    		if skip > remain {
    			skip = remain
    		}
    		b.r += skip
    		remain -= skip
    		if remain == 0 {
    			return n, nil
    		}
    		if b.err != nil {
    			return n - remain, b.readErr()
    		}
    	}
    }
    
    // Read reads data into p.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    		}
    
    		buf = buf[:nr]
    		var (
    			n  int
    			un int
    			nw int64
    		)
    
    		remain := len(buf) % DirectioAlignSize
    		if remain == 0 {
    			// buf is aligned for directio write()
    			n, err = w.Write(buf)
    			nw = int64(n)
    		} else {
    			if remain < len(buf) {
    				n, err = w.Write(buf[:len(buf)-remain])
    				if err != nil {
    					return written, err
    				}
    				nw = int64(n)
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    log.debug("Server " + dr.server + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed " + consumed);
                }
                dr.pathConsumed = consumed;
            }
            else {
                if ( log.isDebugEnabled() ) {
                    log.debug("Node " + ref.getNode() + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed " + consumed);
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    			}
    
    			uint16string := strings.Repeat(".", uint16max)
    			remain := wantLen
    			for remain > 0 {
    				commentLen := int(uint16max) - directoryHeaderLen - 1
    				thisRecLen := directoryHeaderLen + int(uint16max) + commentLen
    				if int64(thisRecLen) > remain {
    					remove := thisRecLen - int(remain)
    					commentLen -= remove
    					thisRecLen -= remove
    				}
    				remain -= int64(thisRecLen)
    				f, err := w.CreateHeader(&FileHeader{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          if (closed) return
    
          if (bytesRemaining != 0L &&
            !discard(ExchangeCodec.DISCARD_STREAM_TIMEOUT_MILLIS, MILLISECONDS)
          ) {
            carrier.noNewExchanges() // Unread bytes remain on the stream.
            responseBodyComplete()
          }
    
          closed = true
        }
      }
    
      /** An HTTP body with alternating chunk sizes and chunk bodies. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

      }
    
      // Graph mutation methods
    
      // Graph view methods
    
      /**
       * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
       * properties remain intact, and further updates to {@code graph} will be reflected in the view.
       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        len -= cnt;
                        off += cnt;
                    }
                    else {
                        if ( log.isTraceEnabled() ) {
                            log.trace(String.format("Wrote at %d remain %d off %d len %d", this.fp, len - w, off, w));
                        }
                        this.req.setParam(fh.getFid(), this.fp, len - w, b, off, w);
                        th.send(this.req, this.rsp);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 11; i++) {
          limiter.acquire(); // #7, showing off the warmup starting from totally cold
        }
    
        // make sure the areas (times) remain the same, while permits are different
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  9. cmd/local-locker_test.go

    					t.Logf("Expire 50%% took: %v. Left: %d/%d", time.Since(start).Round(time.Millisecond), len(l.lockUID), len(l.lockMap))
    
    					if len(l.lockUID) == locks*readers {
    						t.Fatalf("objects uids all remain, unlikely")
    					}
    					if len(l.lockMap) == 0 {
    						t.Fatalf("objects all deleted, 0 remains")
    					}
    					if len(l.lockUID) == 0 {
    						t.Fatalf("objects uids all deleted, 0 remains")
    					}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    			for i := 0; i < messages; i++ {
    				if atomic.LoadUint32((*uint32)(&c.state)) != StateConnected {
    					cancel(ErrDisconnected)
    					return
    				}
    				var next []byte
    				next, remain, err = msgp.ReadBytesZC(remain)
    				if err != nil {
    					gridLogIf(ctx, fmt.Errorf("ws read merged: %w", err))
    					cancel(ErrDisconnected)
    					return
    				}
    
    				m.Payload = nil
    				subID, _, err = m.parse(next)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top