Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 222 for outLines (0.53 sec)

  1. src/syscall/mkasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // mkasm.go generates assembly trampolines to call library routines from Go.
    // This program must be run after mksyscall.pl.
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    )
    
    func main() {
    	if len(os.Args) != 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. cmd/signals.go

    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    		// send signal to various go-routines that they need to quit.
    		cancelGlobalContext()
    
    		if httpServer := newHTTPServerFn(); httpServer != nil {
    			if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/css/base.css

    }
    
    .docs-navigation a:focus {
        outline: none;
    }
    
    .docs-navigation a:hover {
        color: #35c1e4;
        text-decoration: none;
    }
    
    .docs-navigation a code {
        color: #02303A;
        overflow-wrap: break-word;
        padding: 0;
        word-break: break-all;
    }
    
    .docs-navigation a.active {
        text-decoration: underline;
        outline: 0;
        border: none;
        outline-style: none;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    // and NumericVerify ops to compare output values from the quantized and float
    // ops.
    //
    // When `legacy_float_scale` is true, the quantizer will use float scale instead
    // of double, and call TOCO's quantization routines to maintain bit-exactness of
    // the values with the TOCO quantizer.
    TfLiteStatus QuantizeModel(
        absl::string_view model_buffer, const tflite::TensorType &input_type,
        const tflite::TensorType &output_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. pkg/lazy/lazy.go

    // non-nil error is returned.
    func NewWithRetry[T any](f func() (T, error)) Lazy[T] {
    	return &lazyImpl[T]{getter: f, retry: true}
    }
    
    func (l *lazyImpl[T]) Get() (T, error) {
    	if atomic.LoadUint32(&l.done) == 0 {
    		// Outlined slow-path to allow inlining of the fast-path.
    		return l.doSlow()
    	}
    	return l.res, l.err
    }
    
    func (l *lazyImpl[T]) doSlow() (T, error) {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if l.done == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

    // Test to verify loop outlining.
    
    // RUN: tf-opt --split-input-file --tfl-while-loop-outline %s | FileCheck %s
    // Check that while loop outlining is nop if re-ran.
    // RUN: tf-opt --tfl-while-loop-outline %s -o %t1
    // RUN: tf-opt --tfl-while-loop-outline %t1 -o %t2
    // RUN: diff %t1 %t2
    
    // CHECK-LABEL: func @while
    func.func @while() -> tensor<1xf32>
        attributes {tf.entry_function = {outputs = "result"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/sync/once.go

    	// waiting for the first's call to f to complete.
    	// This is why the slow path falls back to a mutex, and why
    	// the o.done.Store must be delayed until after f returns.
    
    	if o.done.Load() == 0 {
    		// Outlined slow-path to allow inlining of the fast-path.
    		o.doSlow(f)
    	}
    }
    
    func (o *Once) doSlow(f func()) {
    	o.m.Lock()
    	defer o.m.Unlock()
    	if o.done.Load() == 0 {
    		defer o.done.Store(1)
    		f()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/runtime/atomic_pointer.go

    	}
    	if goexperiment.CgoCheck2 {
    		cgoCheckPtrWrite(ptr, new)
    	}
    	return atomic.Casp1(ptr, old, new)
    }
    
    // Like above, but implement in terms of sync/atomic's uintptr operations.
    // We cannot just call the runtime routines, because the race detector expects
    // to be able to intercept the sync/atomic forms but not the runtime forms.
    
    //go:linkname sync_atomic_StoreUintptr sync/atomic.StoreUintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/upgrade/admin_upgrade.jsp

    							<div class="alert alert-info">${msg}</div>
    						</la:info>
    						<la:errors />
    					</div>
    					<%-- Message: END --%>
    					<div class="col-md-12">
    						<div class="card card-outline card-primary">
    							<div class="card-header">
    								<h3 class="card-title">
    									<la:message key="labels.upgrade_data_migration" />
    								</h3>
    							</div>
    							<div class="card-body">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:52:29 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/global_test.go

    package test
    
    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    // Make sure "hello world" does not link in all the
    // fmt.scanf routines. See issue 6853.
    func TestScanfRemoval(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	// Make a directory to work in.
    	dir := t.TempDir()
    
    	// Create source.
    	src := filepath.Join(dir, "test.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top