Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 454 for Inline1 (0.32 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

              rangesBuffer.writeByte('-'.code)
              rangesBuffer.writeByte('-'.code)
            }
            is MappedRange.Inline1 -> {
              rangesBuffer.writeByte(range.b1)
              rangesBuffer.writeByte(range.b2)
              rangesBuffer.writeByte('-'.code)
            }
            is MappedRange.Inline2 -> {
              rangesBuffer.writeByte(range.b1)
              rangesBuffer.writeByte(range.b2)
              rangesBuffer.writeByte(range.b3)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

            }
      }
    
      data class Inline1(
        override val rangeStart: Int,
        private val mappedTo: ByteString,
      ) : MappedRange {
        val b1: Int
          get() {
            val b3bit8 = mappedTo[0] and 0x80 != 0
            return if (b3bit8) 123 else 122
          }
    
        val b2: Int
          get() = mappedTo[0] and 0x7f
      }
    
      data class Inline2(
        override val rangeStart: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir

    // RUN: tf-tfrt-opt -split-input-file -pass-pipeline='builtin.module(tf-to-mlrt, inline)' %s | FileCheck %s -dump-input=fail
    
    // Test generated tf_mlrt while body and predicate is inlined.
    
    func.func @then(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %x: tensor<i1>
    }
    
    func.func @else(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %y: tensor<i1>
    }
    
    // CHECK-LABEL: func @while_cond_if
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 01:01:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue54632.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The inliner would erroneously scan the caller function's body for
    // reassignments *before* substituting the inlined function call body,
    // which could cause false positives in deciding when it's safe to
    // transitively inline indirect function calls.
    
    package main
    
    func main() {
    	bug1()
    	bug2(fail)
    }
    
    func bug1() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 14:31:08 UTC 2022
    - 609 bytes
    - Viewed (0)
  5. test/inline_sync.go

    func small5() { // ERROR "can inline small5"
    	// the Unlock fast path should be inlined
    	mutex.Unlock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Unlock"
    }
    
    func small6() { // ERROR "can inline small6"
    	// the Lock fast path should be inlined
    	mutex.Lock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Lock"
    }
    
    var once *sync.Once
    
    func small7() { // ERROR "can inline small7"
    	// the Do fast path should be inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 21:01:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_shorten_pkg.txt

    # can be trimmed like subdirectory paths are.
    
    env GOEXPERIMENT=loopvar
    go build -gcflags=inlines/a=-d=loopvar=2 .
    stderr ^\.[\\/]b[\\/]b\.go:12:6:.*loop.inlined.into.a[\\/]a\.go
    stderr ^\.[\\/]b[\\/]b\.go:12:9:.*loop.inlined.into.a[\\/]a\.go
    
    -- go.mod --
    module inlines
    
    go 1.21
    -- a/a.go --
    // Copyright 2023 The Go Authors. All rights reserved.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 09:07:58 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. test/closure3.dir/main.go

    		}
    	}
    
    	{
    		a := 2
    		if r := func(x int) int { // ERROR "can inline main.func28"
    			b := 3
    			return func(y int) int { // ERROR "can inline main.func28.1" "can inline main.main.func28.func35"
    				c := 5
    				func(z int) { // ERROR "can inline main.func28.1.1" "can inline main.func28.main.func28.1.2" "can inline main.main.func28.func35.1" "can inline main.main.func28.main.main.func28.func35.func37"
    					a = a * x
    					b = b * y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. src/runtime/start_line_test.go

    	}
    
    	frames := runtime.CallersFrames(pcs[:])
    	frame, _ := frames.Next()
    
    	inlined := frame.Func == nil // Func always set to nil for inlined frames
    	if wantInlined != inlined {
    		panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined))
    	}
    
    	return runtime.FrameStartLine(&frame)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/inline/interleaved/interleaved.go

    // returns.
    func fixpoint(fn *ir.Func, match func(ir.Node) bool, edit func(ir.Node) ir.Node) {
    	// Consider the expression "f(g())". We want to be able to replace
    	// "g()" in-place with its inlined representation. But if we first
    	// replace "f(...)" with its inlined representation, then "g()" will
    	// instead appear somewhere within this new AST.
    	//
    	// To mitigate this, each matched node n is wrapped in a ParenExpr,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. test/escape4.go

    	f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2"
    		p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x"
    	}
    	f()
    }
    
    func f2() {} // ERROR "can inline f2"
    
    // No inline for recover; panic now allowed to inline.
    func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap"
    func f4() { recover() }
    
    func f5() *byte { // ERROR "can inline f5"
    	type T struct {
    		x [1]byte
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top