Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for extfake (0.12 sec)

  1. tensorflow/BUILD

            continue
          fi
    
          if [[ $${d} == external* ]]; then
            extname="$${d#*external/}"
            extname="$${extname%%/*}"
            if [[ $${TF_SYSTEM_LIBS:-} == *$${extname}* ]]; then
              continue
            fi
    
            d="$${d#*external/farmhash_archive/src}"
            d="$${d#*external/$${extname}/}"
            d="$${d#_virtual_includes/*/}"
          fi
    
          mkdir -p "$@/$${d}"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 16:51:59 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    	} else {
    		l.dynimpvers[i] = value
    	}
    }
    
    // SymExtname returns the "extname" value for the specified
    // symbol.
    func (l *Loader) SymExtname(i Sym) string {
    	if s, ok := l.extname[i]; ok {
    		return s
    	}
    	return l.SymName(i)
    }
    
    // SetSymExtname sets the  "extname" attribute for a symbol.
    func (l *Loader) SetSymExtname(i Sym, value string) {
    	// reject bad symbols
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/xcoff.go

    	var buf bytes.Buffer
    
    	ldr := ctxt.loader
    	for s, nsym := loader.Sym(1), loader.Sym(ldr.NSym()); s < nsym; s++ {
    		if !ldr.AttrCgoExport(s) {
    			continue
    		}
    		extname := ldr.SymExtname(s)
    		if !strings.HasPrefix(extname, "._cgoexp_") {
    			continue
    		}
    		if ldr.IsFileLocal(s) {
    			continue // Only export non-static symbols
    		}
    
    		// Retrieve the name of the initial symbol
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/replica_calculator_test.go

    			},
    		}
    
    		return true, metrics, nil
    	})
    	return fakeCMClient
    }
    
    func (tc *replicaCalcTestCase) prepareTestEMClient(t *testing.T) *emfake.FakeExternalMetricsClient {
    	fakeEMClient := &emfake.FakeExternalMetricsClient{}
    	fakeEMClient.AddReactor("list", "*", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		listAction, wasList := action.(core.ListAction)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    		}
    	}()
    	b.Read(make([]byte, 100))
    }
    
    var errFake = errors.New("fake error")
    
    type errorThenGoodReader struct {
    	didErr bool
    	nread  int
    }
    
    func (r *errorThenGoodReader) Read(p []byte) (int, error) {
    	r.nread++
    	if !r.didErr {
    		r.didErr = true
    		return 0, errFake
    	}
    	return len(p), nil
    }
    
    func TestReaderClearError(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/framework.go

    	for _, e := range f.getExtensionPoints(&m) {
    		plugins := reflect.ValueOf(e.slicePtr).Elem()
    		extName := plugins.Type().Elem().Name()
    		var cfgs []config.Plugin
    		for i := 0; i < plugins.Len(); i++ {
    			name := plugins.Index(i).Interface().(framework.Plugin).Name()
    			p := config.Plugin{Name: name}
    			if extName == "ScorePlugin" {
    				// Weights apply only to score plugins.
    				p.Weight = int32(f.scorePluginWeight[name])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top