Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 513 for isOnline (0.18 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReaderTest.groovy

        }
    
        def "replaces inline comments with space"() {
            when:
            input = """
    Here/* comment */is a string/*
    multiline
    comment
    here */that contains/**
     comment /* containing ** / ${BN} characters */several inline comments.
    """
    
            then:
            output == "\nHere is a string that contains several inline comments."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. test/typeparam/issue54497.go

    package testcase
    
    type C interface{ ~uint | ~uint32 | ~uint64 }
    
    func isAligned[T C](x, y T) bool { // ERROR "can inline isAligned\[uint\]" "can inline isAligned\[go\.shape\.uint\]" "inlining call to isAligned\[go\.shape\.uint\]"
    	return x%y == 0
    }
    
    func foo(x uint) bool { // ERROR "can inline foo"
    	return isAligned(x, 64) // ERROR "inlining call to isAligned\[go\.shape\.uint\]"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:26:40 UTC 2022
    - 618 bytes
    - Viewed (0)
  3. test/inline_endian.go

    // license that can be found in the LICENSE file.
    
    // Similar to inline.go, but only for architectures that can merge loads.
    
    package foo
    
    import (
    	"encoding/binary"
    )
    
    // Ensure that simple encoding/binary functions are cheap enough
    // that functions using them can also be inlined (issue 42958).
    func endian(b []byte) uint64 { // ERROR "can inline endian" "b does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:05:02 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_cache_output.txt

    go build -x -gcflags=-m lib.go
    stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # ... but not the second, even though it still prints the compiler output.
    go build -x -gcflags=-m lib.go
    ! stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # Building a trivial main package should run the compiler and linker the first time.
    go build -x -gcflags=-m -ldflags='-v -w' main.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters.h

    inline float CalculateBinWidth(const float min_value, const float max_value,
                                   const int32_t num_bins) {
      const float raw_bin_width = (max_value - min_value) / num_bins;
      return std::pow(2, std::ceil(std::log2(raw_bin_width)));
    }
    
    // Calculates the lower bound of the histogram. The lower bound is in form of
    // `N * bin_width`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/build/relnote/links.go

    	}
    }
    
    // addSymbolLinksInlines looks for symbol links in the slice of inline markdown
    // elements. It returns a new slice of inline elements with links added.
    func addSymbolLinksInlines(ins []md.Inline, defaultPackage string) []md.Inline {
    	ins = splitAtBrackets(ins)
    	var res []md.Inline
    	for i := 0; i < len(ins); i++ {
    		if txt := symbolLinkText(i, ins); txt != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirFunctionSymbol.kt

        override val isOperator: Boolean get() = withValidityAssertion { firSymbol.isOperator }
        override val isExternal: Boolean get() = withValidityAssertion { firSymbol.isExternal }
        override val isInline: Boolean get() = withValidityAssertion { firSymbol.isInline }
        override val isExtension: Boolean get() = withValidityAssertion { firSymbol.isExtension }
        override val isActual: Boolean get() = withValidityAssertion { firSymbol.isActual }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt

        readCollectionInto({ size -> LinkedHashSet(size) }) {
            readString()
        }
    
    
    inline fun <T> Encoder.writeCollection(collection: Collection<T>, writeElement: (T) -> Unit) {
        writeSmallInt(collection.size)
        for (element in collection) {
            writeElement(element)
        }
    }
    
    
    inline fun Decoder.readCollection(readElement: () -> Unit) {
        val size = readSmallInt()
        for (i in 0 until size) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.h

    // Returns true if the given `value` is of ranked float tensor type with the
    // given `rank`.
    inline bool IsOfRankedFloatTensorType(RankedTensorType type, int rank) {
      return type && type.getRank() == rank &&
             mlir::isa<FloatType>(type.getElementType());
    }
    
    // Returns true if the given `value` has the specified rank or has unranked
    // type.
    inline bool IsOfRankOrUnranked(Value value, int64_t rank) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt

        throw IllegalStateException()
    }
    
    
    inline fun <reified T> withInstanceOf(o: Any, block: T.() -> Unit) {
        block(assertInstanceOf<T>(o))
    }
    
    
    inline fun <reified T> assertInstanceOf(o: Any): T {
        assertThat(o, instanceOf(T::class.java))
        return o as T
    }
    
    
    inline fun withClassLoaderFor(vararg classPath: File, action: ClassLoader.() -> Unit) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top