- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 239 for hasExt (0.1 sec)
-
src/os/exec/lp_windows.go
if d.IsDir() { return fs.ErrPermission } return nil } func hasExt(file string) bool { i := strings.LastIndex(file, ".") if i < 0 { return false } return strings.LastIndexAny(file, `:\/`) < i } func findExecutable(file string, exts []string) (string, error) { if len(exts) == 0 { return file, chkStat(file) } if hasExt(file) { if chkStat(file) == nil { return file, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
override fun find(): RealConnection { var firstException: IOException? = null try { while (tcpConnectsInFlight.isNotEmpty() || routePlanner.hasNext()) { if (routePlanner.isCanceled()) throw IOException("Canceled") // Launch a new connection if we're ready to. val now = taskRunner.backend.nanoTime()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
}; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again assertFalse(iter.hasNext()); try { iter.next();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/SortedMapDiffUtil.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Integer.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Number.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Object.class))); assertThat(it.hasNext(), is(not(true))); } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SingleValueIterator.java
public SingleValueIterator(final E value) { this.value = value; } @Override public boolean hasNext() { return hasNext; } @Override public E next() { if (!hasNext) { throw new NoSuchElementException(); } hasNext = false; return value; } @Override public void remove() {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/LineIteratorTest.java
final LineIterator it = new LineIterator(reader); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("aaa")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("bbb")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("ccc")); assertThat(it.hasNext(), is(not(true))); } /** * @throws Exception */ @Test
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameInstance(cl3))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameInstance(cl2))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameInstance(cl1))); assertThat(it.hasNext(), is(not(true))); }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MultiIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Foo")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Bar")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Baz")); assertThat(it.hasNext(), is(not(true))); }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSourceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 25 10:08:46 UTC 2022 - 4.8K bytes - Viewed (0)