- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 1,277 for Khan (0.02 seconds)
-
internal/ringbuffer/ring_buffer_test.go
testCancel := func(fn func()) { t.Helper() defer timeout(5 * time.Second)() rb.Reset() done := make(chan struct{}) go func() { defer close(done) time.Sleep(10 * time.Millisecond) fn() }() rb.CloseWithError(errors.New("test error")) <-done rb.Reset() done = make(chan struct{}) go func() { defer close(done) fn() }() time.Sleep(10 * time.Millisecond)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
import java.util.Map; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; /** * Generators of different types of map and related collections, such as keys, entries and values. * * @author Hayward Chan */ @GwtCompatible @NullMarked public class MapGenerators { public static class ImmutableMapGenerator extends TestStringMapGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
multiset2.add("equalIn1"); multiset2.add("fewerIn1", 3); multiset2.add("onlyIn2", 2); for (int i = 0; i < elements.length; i++) { // add 1 more copy of each element to multiset1 than multiset2 multiset1.add(elements[i], i + 2); multiset2.add(elements[i], i + 1); } return difference(multiset1, multiset2); } }; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link ForwardingMultiset}. * * @author Hayward Chan * @author Louis Wasserman */ @NullUnmarked public class ForwardingMultisetTest extends TestCase { static final class StandardImplForwardingMultiset<T> extends ForwardingMultiset<T> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
suite.addTest( suiteForBytes( slicedLongMaxValue, bytes, name + ".slice[long, Long.MAX_VALUE]", desc, false)); // test a slice() of the ByteSource starting at an offset greater than its size ByteSourceFactory slicedOffsetPastEnd = SourceSinkFactories.asSlicedByteSourceFactory( factory, expected.length + 2, expected.length + 10); suite.addTest(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
@Test public void testBufferAllocationWhenCacheFull() { // Given - Allocate many buffers to potentially fill the cache List<byte[]> buffers = new ArrayList<>(); // Allocate more buffers than cache can hold for (int i = 0; i < 20; i++) { byte[] buffer = BufferCache.getBuffer(); assertNotNull(buffer, "Buffer should not be null even when cache is full");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
ci/official/utilities/setup.sh
# specifically. Use your best judgment to keep the scripts in this directory # lean and easy to follow. When in doubt, remember that for CI scripts, "keep it # simple" is MUCH more important than "don't repeat yourself." # -e: abort script if one command fails # -u: error if undefined variable used # -x: log all commands # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* instead. * * <p><b>Note:</b> If {@code elements} is a {@code SortedSet} with an explicit comparator, this * method has different behavior than {@link TreeSet#TreeSet(SortedSet)}, which returns a {@code * TreeSet} with that comparator. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
cmd/xl-storage_test.go
} } // Err unexpected EOF special case, where we verify we have provided a larger // buffer than the data itself, but the results are in-fact valid. So we validate // this error condition specifically treating it as a good condition with valid // results. In this scenario return 'n' is always lesser than the input buffer. if err == io.ErrUnexpectedEOF { if !bytes.Equal(testCase.expectedBuf, buf[:n]) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
flagIfReversed(file, errors, currentSnippets); } } /** * Only flags when the first two detectable snippets in the block are GROOVY then KOTLIN. * Ignores blocks with fewer than two detectable snippets. */ private void flagIfReversed(File file, Map<File, List<Error>> errors, List<Snippet> snippets) { List<Snippet> pair = snippets.stream()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0)