Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 199 for Demakin (0.18 sec)

  1. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. 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 23 11:13:09 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  3. architecture-standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    
    When the Kotlin DSL was introduced, we made an effort to add non-Groovy equivalents for all APIs.
    This has been mostly done, but there remain a few hold outs (fixing these are out of scope).
    
    To keep the Groovy DSL ergonomic, we generate methods as necessary from the non-Groovy equivalents.
    
    Doing this provides the following specific benefits:
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Jan 31 14:32:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.common.collect.MapMaker;
    import java.util.Map;
    
    /**
     * Compare CacheBuilder and MapMaker performance, ensuring that they remain on par with each other.
     *
     * @author Nikita Sidorov
     */
    @SuppressWarnings("CheckReturnValue")
    public class MapMakerComparisonBenchmark {
      private static final String TEST_KEY = "test key";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  5. README.md

        the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**
    
    2.  APIs without `@Beta` will remain binary-compatible for the indefinite
        future. (Previously, we sometimes removed such APIs after a deprecation
        period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even
        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
        plans to start removing things again, but officially, we're leaving our
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. cmd/service.go

    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    	// Use atomics for globalServiceFreeze, so we can read without locking.
    	// We need a lock since we are need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    	// If multiple calls, first one creates channel.
    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    		globalServiceFreeze.Store(make(chan struct{}))
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. .github/stale.yml

    daysUntilStale: 30
    
    # Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
    # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
    daysUntilClose: 15
    
    # Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
    onlyLabels: []
    
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 24 04:36:59 GMT 2022
    - 2K bytes
    - Viewed (0)
  8. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    
    When the Kotlin DSL was introduced, we made an effort to add non-Groovy equivalents for all APIs.
    This has been mostly done, but there remain a few holdouts (fixing these is out of scope).
    
    To keep the Groovy DSL ergonomic, we generate methods as necessary from the non-Groovy equivalents.
    
    Doing this provides the following specific benefits:
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

      protected AbstractSequentialIterator(@CheckForNull T firstOrNull) {
        this.nextOrNull = firstOrNull;
      }
    
      /**
       * Returns the element that follows {@code previous}, or returns {@code null} if no elements
       * remain. This method is invoked during each call to {@link #next()} in order to compute the
       * result of a <i>future</i> call to {@code next()}.
       */
      @CheckForNull
      protected abstract T computeNext(T previous);
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  10. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
Back to top