Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,967 for FUNC (0.05 sec)

  1. src/cmd/compile/internal/ssa/export_test.go

    func (d TestFrontend) Fatalf(_ src.XPos, msg string, args ...interface{}) { d.t.Fatalf(msg, args...) }
    func (d TestFrontend) Warnl(_ src.XPos, msg string, args ...interface{})  { d.t.Logf(msg, args...) }
    func (d TestFrontend) Debug_checknil() bool                               { return false }
    
    func (d TestFrontend) Func() *ir.Func {
    	return d.f
    }
    
    var testTypes Types
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tests/integration/ambient/baseline_test.go

    )
    
    func IsL7() echo.Checker {
    	return check.Each(func(r echot.Response) error {
    		// TODO: response headers?
    		_, f := r.RequestHeaders[http.CanonicalHeaderKey("X-Request-Id")]
    		if !f {
    			return fmt.Errorf("X-Request-Id not set, is L7 processing enabled?")
    		}
    		return nil
    	})
    }
    
    func IsL4() echo.Checker {
    	return check.Each(func(r echot.Response) error {
    		// TODO: response headers?
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

          return %2 : tensor<?x2xf32>
        }
        func.func private @composite_fn_1(%arg0: tensor<?x2xf32>, %arg1: tensor<2x2xf32>, %arg2: tensor<2xf32>) -> tensor<?x2xf32> attributes {_from_xla_call_module, tf_quant.composite_function} {
          return %arg0 : tensor<?x2xf32>
        }
      }
    )mlir";
    
    constexpr absl::string_view kModuleDotWeightOnlyPtq = R"mlir(
      module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. src/slices/iter.go

    // The indexes range in the usual order, from 0 through len(s)-1.
    func All[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] {
    	return func(yield func(int, E) bool) {
    		for i, v := range s {
    			if !yield(i, v) {
    				return
    			}
    		}
    	}
    }
    
    // Backward returns an iterator over index-value pairs in the slice,
    // traversing it backward. The indexes range from len(s)-1 down to 0.
    func Backward[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:40:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    	if err != nil {
    		return
    	}
    	st.Results(func(b *grid.Bytes) error {
    		select {
    		case listenCh <- *b:
    		default:
    			// Do not block on slow receivers.
    			b.Recycle()
    		}
    		return nil
    	})
    }
    
    // Listen - listen on peers.
    func (client *peerRESTClient) Listen(ctx context.Context, listenCh chan<- []byte, v url.Values) {
    	go func() {
    		for {
    			client.doListen(ctx, listenCh, v)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. test/codegen/shift.go

    }
    
    func rshConst64Ux64Overflow16(v uint16) uint64 {
    	// riscv64:"MOV\t\\$0,",-"SRL"
    	return uint64(v) >> 16
    }
    
    func rshConst64Ux64Overflow8(v uint8) uint64 {
    	// riscv64:"MOV\t\\$0,",-"SRL"
    	return uint64(v) >> 8
    }
    
    func rshConst64x64(v int64) int64 {
    	// ppc64x:"SRAD"
    	// riscv64:"SRAI\t",-"OR",-"SLTIU"
    	return v >> uint64(33)
    }
    
    func rshConst64x64Overflow32(v int32) int64 {
    	// riscv64:"SRAIW",-"SLLI",-"SRAI\t"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/const_tensor.mlir

      func.return %0, %1 : tensor<0x!tf_type.string>, tensor<7x!tf_type.string>
    }
    
    // Convert tf.Const to tfrt_fallback_async.const_dense_tensor only on cpu device
    // CHECK-LABEL: func @dense_tensor
    func.func @dense_tensor() -> tensor<4xui64> {
      // CHECK: tfrt_fallback_async.const_dense_tensor dense<[1, 2, 3, 4]> : tensor<4xui64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_messages.go

    	b.AddUint24LengthPrefixed(func(b *cryptobyte.Builder) {
    		b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
    			if len(m.alpnProtocol) > 0 {
    				b.AddUint16(extensionALPN)
    				b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
    					b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
    						b.AddUint8LengthPrefixed(func(b *cryptobyte.Builder) {
    							b.AddBytes([]byte(m.alpnProtocol))
    						})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. src/runtime/testdata/testprog/coro.go

    }
    
    func iterNested(yield func(int) bool) {
    	next, stop := iter.Pull(iterSimple)
    	for {
    		v, ok := next()
    		if ok {
    			if !yield(v) {
    				stop()
    			}
    		} else {
    			return
    		}
    	}
    }
    
    func iterLock(yield func(int) bool) {
    	for range 3 {
    		runtime.LockOSThread()
    		runtime.UnlockOSThread()
    
    		if !yield(5) {
    			return
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. pkg/kube/krt/singleton.go

    	eventHandlers *handlers[T]
    }
    
    func (d *static[T]) GetKey(k Key[T]) *T {
    	return d.val.Load()
    }
    
    func (d *static[T]) List() []T {
    	v := d.val.Load()
    	if v == nil {
    		return nil
    	}
    	return []T{*v}
    }
    
    func (d *static[T]) Register(f func(o Event[T])) Syncer {
    	return registerHandlerAsBatched[T](d, f)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top