Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 310 for hasExt (0.13 sec)

  1. 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)
  2. src/vendor/golang.org/x/sys/cpu/cpu_zos_s390x.go

    	S390X.HasEIMM = facilities.Has(eimm)
    
    	// optional
    	S390X.HasETF3EH = facilities.Has(etf3eh)
    	S390X.HasDFP = facilities.Has(dfp)
    	S390X.HasMSA = facilities.Has(msa)
    	S390X.HasVX = facilities.Has(vx)
    	if S390X.HasVX {
    		S390X.HasVXE = facilities.Has(vxe)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 643 bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/cpu_linux_s390x.go

    	S390X.HasLDISP = has(hwcap_LDISP)
    	S390X.HasEIMM = has(hwcap_EIMM)
    	S390X.HasETF3EH = has(hwcap_ETF3EH)
    	S390X.HasDFP = has(hwcap_DFP)
    	S390X.HasMSA = has(hwcap_MSA)
    	S390X.HasVX = has(hwcap_VX)
    	if S390X.HasVX {
    		S390X.HasVXE = has(hwcap_VXE)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 890 bytes
    - Viewed (0)
  4. src/internal/cpu/cpu_s390x.go

    			S390X.HasEDDSA = kdsa.Has(eddsaVerifyEd25519, eddsaSignEd25519, eddsaVerifyEd448, eddsaSignEd448)
    		}
    	}
    
    	S390X.HasVX = isSet(HWCap, hwcap_VX)
    
    	if S390X.HasVX {
    		S390X.HasVXE = facilities.Has(vxe)
    	}
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 17:11:03 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/vendor/golang.org/x/sys/cpu/cpu_s390x.go

    		{Name: "sha256", Feature: &S390X.HasSHA256},
    		{Name: "sha3", Feature: &S390X.HasSHA3},
    		{Name: "sha512", Feature: &S390X.HasSHA512},
    		{Name: "vx", Feature: &S390X.HasVX},
    		{Name: "vxe", Feature: &S390X.HasVXE},
    	}
    }
    
    // bitIsSet reports whether the bit at index is set. The bit index
    // is in big endian order, so bit index 0 is the leftmost bit.
    func bitIsSet(bits []uint64, index uint) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/SortedMapDiffUtil.java

                        if (previousEntries.hasNext() && currentEntries.hasNext()) {
                            previousEntry = previousEntries.next();
                            currentEntry = currentEntries.next();
                        } else {
                            break;
                        }
                    }
                }
            }
    
            while (currentEntries.hasNext()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/collect/AbstractIterator.java

       * there are no elements left in the iteration. Failure to do so could result in an infinite loop.
       *
       * <p>The initial invocation of {@link #hasNext()} or {@link #next()} calls this method, as does
       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 18 02:04:10 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top