- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for testSeek (0.07 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
} @Test void testGetFilePointer() throws SmbException { assertEquals(0, smbRandomAccessFile.getFilePointer()); } @Test void testSeek() throws SmbException { long newPosition = 100L; smbRandomAccessFile.seek(newPosition); assertEquals(newPosition, smbRandomAccessFile.getFilePointer()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/fr/docs/features.md
/// ### Support des éditeurs { #editor-support } Tout le framework a été conçu pour être facile et intuitif à utiliser, toutes les décisions ont été testées sur plusieurs éditeurs avant même de commencer le développement, pour assurer la meilleure expérience de développement.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 10.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java
public void setBuildDate(ZonedDateTime buildDate) { BuildParams.buildDate = requireNonNull(buildDate); } public void setTestSeed(String testSeed) { BuildParams.testSeed = requireNonNull(testSeed); } public void setIsCi(boolean isCi) { BuildParams.isCi = isCi; } public void setDefaultParallel(int defaultParallel) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
final String testSeed; if (testSeedProperty == null) { long seed = new Random(System.currentTimeMillis()).nextLong(); testSeed = Long.toUnsignedString(seed, 16).toUpperCase(Locale.ROOT); } else { testSeed = testSeedProperty; } return testSeed; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
import org.jspecify.annotations.NullUnmarked; /** Tests for {@link ClosingFuture} leaks. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
import org.jspecify.annotations.NullUnmarked; /** Tests for {@link ClosingFuture} leaks. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
src/bytes/buffer_test.go
{"a", 0, 2, "a", io.EOF}, {"helloworld", 4, 3, "owo", nil}, {"helloworld", 5, 5, "world", nil}, {"helloworld", 5, 6, "world", io.EOF}, {"helloworld", 10, 1, "", io.EOF}, } func TestPeek(t *testing.T) { for _, test := range peekTests { buf := NewBufferString(test.buffer) buf.Next(test.skip) bytes, err := buf.Peek(test.n) if string(bytes) != test.expected {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
src/bufio/bufio_test.go
t.Errorf("first ReadSlice(,) = %q, %v", line, err) } line, err = buf.ReadSlice('!') if string(line) != "world!" || err != nil { t.Errorf("second ReadSlice(,) = %q, %v", line, err) } } func TestPeek(t *testing.T) { p := make([]byte, 10) // string is 16 (minReadBufferSize) long. buf := NewReaderSize(strings.NewReader("abcdefghijklmnop"), minReadBufferSize) if s, err := buf.Peek(1); string(s) != "a" || err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0)