Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 2,488 for unit (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

    import java.util.RandomAccess;
    import java.util.Set;
    import java.util.Vector;
    import junit.framework.AssertionFailedError;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@code Iterators}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. internal/once/init.go

    // initialized when the provided function returns nil.
    
    // Init represents the structure.
    type Init struct {
    	done uint32
    	m    sync.Mutex
    }
    
    // Do is similar to sync.Once.Do - makes one successful
    // call to the function. ie, it invokes the function
    // if it is not successful yet.
    func (l *Init) Do(f func() error) error {
    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.do(f)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 09 04:20:31 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. docs/zh/docs/async.md

    但在这种情况下,如果你能带上 8 名前收银员/厨师,现在是清洁工一起清扫,他们中的每一个人(加上你)都能占据房子的一个区域来清扫,你就可以在额外的帮助下并行的更快地完成所有工作。
    
    在这个场景中,每个清洁工(包括您)都将是一个处理器,完成这个工作的一部分。
    
    由于大多数执行时间是由实际工作(而不是等待)占用的,并且计算机中的工作是由 <abbr title="Central Processing Unit">CPU</abbr> 完成的,所以他们称这些问题为"CPU 密集型"。
    
    ---
    
    CPU 密集型操作的常见示例是需要复杂的数学处理。
    
    例如:
    
    * **音频**或**图像**处理;
    * **计算机视觉**: 一幅图像由数百万像素组成,每个像素有3种颜色值,处理通常需要同时对这些像素进行计算;
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/main/webapp/js/jquery-3.7.1.min.js

    set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:funct...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    buff.project("project");
                    slf4jLogger.debug(buff.toString());
                }
            }
        }
    
        // Needed to make this method package visible to make writing a unit test possible
        // Maybe it's better to move some of those methods to separate class (SoC).
        void properties(CliRequest cliRequest) throws Exception {
            Properties paths = new Properties();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Ordering.java

       */
      public <E extends T> List<E> greatestOf(Iterable<E> iterable, int k) {
        // TODO(kevinb): see if delegation is hurting performance noticeably
        // TODO(kevinb): if we change this implementation, add full unit tests.
        return this.<E>reverse().leastOf(iterable, k);
      }
    
      /**
       * Returns the {@code k} greatest elements from the given iterator according to this ordering, in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. bin/init.sh

    # limitations under the License.
    
    # Init script downloads or updates envoy and the go dependencies. Called from Makefile, which sets
    # the needed environment variables.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jan 25 19:11:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. internal/init/init.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package init
    
    import "os"
    
    func init() {
    	// All MinIO operations must be under UTC.
    	os.Setenv("TZ", "UTC")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Nov 04 23:44:38 UTC 2022
    - 874 bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

    import static org.apache.maven.cling.invoker.mvnenc.DefaultEncryptInvoker.OK;
    
    /**
     * The "init" goal.
     */
    @Singleton
    @Named("init")
    public class Init extends GoalSupport {
        private static final String NONE = "__none__";
    
        @Inject
        public Init(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

    import org.opensearch.common.document.DocumentField;
    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.settings.Settings.Builder;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.core.action.ActionListener;
    import org.opensearch.core.action.ActionResponse;
    import org.opensearch.core.rest.RestStatus;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top