- Sort Score
- Num 10 results
- Language All
Results 2411 - 2420 of 6,076 for new1 (0.03 seconds)
-
internal/ringbuffer/README.md
"github.com/smallnest/ringbuffer" ) func main() { rb := ringbuffer.New(1024) // write rb.Write([]byte("abcd")) fmt.Println(rb.Length()) fmt.Println(rb.Free()) // read buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ``` It is possible to use an existing buffer with by replacing `New` with `NewBuffer`. # Blocking vs Non-blocking
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) { try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/LsarSidArrayX.java
import jcifs.smb1.smb1.SID; class LsarSidArrayX extends lsarpc.LsarSidArray { LsarSidArrayX(final SID[] sids) { this.num_sids = sids.length; this.sids = new lsarpc.LsarSidPtr[sids.length]; for (int si = 0; si < sids.length; si++) { this.sids[si] = new lsarpc.LsarSidPtr(); this.sids[si].sid = sids[si]; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 409 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsRoleCQ.java
RoleCQ cq = new RoleCQ(); queryLambda.callback(cq); final Collection<FilterFunctionBuilder> list = new ArrayList<>(); if (functionsLambda != null) { functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> { RoleCQ cf = new RoleCQ(); cqLambda.callback(cf); list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 13.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
return super.entrySet(); } @Override Iterator<E> elementIterator() { Iterator<Map.Entry<E, Count>> backingEntries = backingMap.entrySet().iterator(); return new Iterator<E>() { Map.@Nullable Entry<E, Count> toRemove; @Override public boolean hasNext() { return backingEntries.hasNext(); } @Override @ParametricNullness
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
return evictionCount; } /** * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats} * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be * rounded up to zero. */ public CacheStats minus(CacheStats other) { return new CacheStats( max(0, saturatedSubtract(hitCount, other.hitCount)),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
return evictionCount; } /** * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats} * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be * rounded up to zero. */ public CacheStats minus(CacheStats other) { return new CacheStats( max(0, saturatedSubtract(hitCount, other.hitCount)),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* @return a splitter, with default settings, that uses this matcher */ public static Splitter on(CharMatcher separatorMatcher) { checkNotNull(separatorMatcher); return new Splitter( (splitter, toSplit) -> new SplittingIterator(splitter, toSplit) { @Override int separatorStart(int start) { return separatorMatcher.indexIn(toSplit, start); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
int buckets = CompactHashing.tableSize(expectedSize); this.table = CompactHashing.createTable(buckets); setHashTableMask(buckets - 1); this.entries = new int[expectedSize]; this.keys = new Object[expectedSize]; this.values = new Object[expectedSize]; return expectedSize; } @SuppressWarnings("unchecked") @VisibleForTesting @Nullable Map<K, V> delegateOrNull() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java
return new CollectionTestSuiteBuilder<E>().usingGenerator(generator); } @Override protected List<TestSuite> createDerivedSuites( FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>> parentBuilder) { List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 3.6K bytes - Click Count (0)