Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 283 for Sort (0.06 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

      py_funcs = [
          func
          for name, func in tf_inspect.getmembers(source, tf_inspect.isfunction)
          if not method_prefix or name.startswith(method_prefix)
      ]
      # Sort the methods by the line number, to make sure the definitions are
      # processed before the usages.
      # TODO(fengliuai): Use type inference resolver to recursively process any
      # functions called.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

      private static final class AnyOf extends CharMatcher {
    
        private final char[] chars;
    
        public AnyOf(CharSequence chars) {
          this.chars = chars.toString().toCharArray();
          Arrays.sort(this.chars);
        }
    
        @Override
        public boolean matches(char c) {
          return Arrays.binarySearch(chars, c) >= 0;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js

    				// clean up all plugins
    				b.plugins = $.isArray(b.plugins) ? b.plugins : $.jstree.defaults.plugins.slice();
    				b.plugins.unshift("core");
    				// only unique plugins
    				b.plugins = b.plugins.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(",");
    
    				// extend defaults with passed data
    				s = $.extend(true, {}, $.jstree.defaults, b);
    				s.plugins = b.plugins;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 09:03:42 UTC 2021
    - 49.5K bytes
    - Viewed (0)
  4. src/reflect/type.go

    	}
    	ut := t.uncommon()
    	if ut == nil {
    		return Method{}, false
    	}
    
    	methods := ut.ExportedMethods()
    
    	// We are looking for the first index i where the string becomes >= s.
    	// This is a copy of sort.Search, with f(h) replaced by (t.nameOff(methods[h].name).name() >= name).
    	i, j := 0, len(methods)
    	for i < j {
    		h := int(uint(i+j) >> 1) // avoid overflow when computing h
    		// i ≤ h < j
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/time/format.go

    // permitted by the RFCs and they do accept time formats not formally defined.
    // The [RFC3339Nano] format removes trailing zeros from the seconds field
    // and thus may not sort correctly once formatted.
    //
    // Most programs can use one of the defined constants as the layout passed to
    // Format or Parse. The rest of this comment can be ignored unless you are
    // creating a custom layout string.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/buildlist.go

    		disambiguateRoot.Range(func(k, _ any) bool {
    			m := k.(module.Version)
    			roots = append(roots, m)
    			pathIsRoot[m.Path] = true
    			return true
    		})
    
    		if len(roots) > len(tidy.rootModules) {
    			module.Sort(roots)
    			tidy = newRequirements(pruned, roots, tidy.direct)
    			_, err = tidy.Graph(ctx)
    			if err != nil {
    				return nil, err
    			}
    			// Adding these roots may have pulled additional modules into the module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  7. src/runtime/mgcpacer.go

    	//
    	// In this case, we *include* idle utilization, because that is additional CPU time that
    	// the GC had available to it.
    	//
    	// In effect, idle GC time is sort of double-counted here, but it's very weird compared
    	// to other kinds of GC work, because of how fluid it is. Namely, because the mutator is
    	// *always* free to take it.
    	//
    	// So this calculation is really:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. src/net/http/transport.go

    		addr = v
    	}
    	return addr
    }
    
    // canonicalAddr returns url.Host but always with a ":port" suffix.
    func canonicalAddr(url *url.URL) string {
    	port := url.Port()
    	if port == "" {
    		port = portMap[url.Scheme]
    	}
    	return net.JoinHostPort(idnaASCIIFromURL(url), port)
    }
    
    // bodyEOFSignal is used by the HTTP/1 transport when reading response
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  9. src/testing/testing.go

    	var list []string
    	running.Range(func(k, v any) bool {
    		list = append(list, fmt.Sprintf("%s (%v)", k.(string), highPrecisionTimeSince(v.(highPrecisionTime)).Round(time.Second)))
    		return true
    	})
    	slices.Sort(list)
    	return list
    }
    
    // stopAlarm turns off the alarm.
    func (m *M) stopAlarm() {
    	if *timeout > 0 {
    		m.timer.Stop()
    	}
    }
    
    func parseCpuList() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  10. src/os/os_test.go

    			t.Fatalf("%s: Readdir: %v", testName, err)
    		}
    		return fis
    	}
    	names := func(fis []FileInfo) []string {
    		s := make([]string, len(fis))
    		for i, fi := range fis {
    			s[i] = fi.Name()
    		}
    		slices.Sort(s)
    		return s
    	}
    
    	if got, want := names(mustReadDir("initial readdir")),
    		[]string{"good1", "good2", "x"}; !reflect.DeepEqual(got, want) {
    		t.Errorf("initial readdir got %q; want %q", got, want)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top