Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,050 for Revert (0.06 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
            if (result == null) {
                return "";
            } else if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel().getId();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @deprecated Use {@link #getPath()} instead.
         */
        @Deprecated
        public File getFile() {
            return path.toFile();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @since 4.0.0
         */
        public Path getPath() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_test.c

    #include "tensorflow/c/kernels.h"
    
    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    			event := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, objInfo)
    			if event.Action.Delete() {
    				// apply whatever the expiry rule is.
    				applyExpiryRule(event, lcEventSrc_s3GetObject, objInfo)
    				if !event.Action.DeleteRestored() {
    					// If the ILM action is not on restored object return error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  5. lib/wasm/wasm_exec.js

    			if (this.exited) {
    				this._resolveExitPromise();
    			}
    		}
    
    		_makeFuncWrapper(id) {
    			const go = this;
    			return function () {
    				const event = { id: id, this: this, args: arguments };
    				go._pendingEvent = event;
    				go._resume();
    				return event.result;
    			};
    		}
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. internal/logger/logger.go

    		if err := t.Send(ctx, entry); err != nil {
    			if consoleTgt != nil { // Sending to the console never fails
    				consoleTgt.Send(ctx, errToEntry(ctx, "logging", fmt.Errorf("unable to send log event to Logger target (%s): %v", t.String(), err), entry.Level))
    			}
    		}
    	}
    }
    
    // Event sends a event log to  log targets
    func Event(ctx context.Context, subsystem, msg string, args ...interface{}) {
    	if DisableLog {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. docs/zh/docs/async.md

    这种使用 `async` 和 `await` 的风格在语言中相对较新。
    
    但它使处理异步代码变得容易很多。
    
    这种相同的语法(或几乎相同)最近也包含在现代版本的 JavaScript 中(在浏览器和 NodeJS 中)。
    
    但在此之前,处理异步代码非常复杂和困难。
    
    在以前版本的 Python,你可以使用多线程或者 <a href="https://www.gevent.org/" class="external-link" target="_blank">Gevent</a>。但代码的理解、调试和思考都要复杂许多。
    
    在以前版本的 NodeJS / 浏览器 JavaScript 中,你会使用"回调",因此也可能导致<a href="http://callbackhell.com/" class="external-link" target="_blank">回调地狱</a>。
    
    ## 协程
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

        server.enqueue(
          MockResponse.Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
        processResponse(response, listener)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

         *            {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         * @return The profiles that have been activated, never {@code null}.
         */
        List<Profile> getActiveProfiles(
                Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     * cache after the iterator is created, it is undefined which of these changes, if any, are
     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top