Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 688 for Handler (0.04 seconds)

  1. lib/wasm/wasm_exec_node.js

    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Aug 30 19:15:21 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/BaseTestHandler.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.fail
    import okio.BufferedSource
    import okio.ByteString
    
    internal open class BaseTestHandler : Http2Reader.Handler {
      override fun data(
        inFinished: Boolean,
        streamId: Int,
        source: BufferedSource,
        length: Int,
      ) {
        fail("")
      }
    
      override fun headers(
        inFinished: Boolean,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. cmd/object-api-utils_test.go

    	if err != nil {
    		t.Fatalf("failed to create HTTP request for Put Object: <ERROR> %v", err)
    	}
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       *
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
       *     down the executor after the last event has been posted to this event bus.
       * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
       *     See {@link SubscriberExceptionHandler} for more information.
       * @since 16.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/layout/DefaultRepositoryLayout.java

     */
    package org.apache.maven.artifact.repository.layout;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     */
    @Named("default")
    @Singleton
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestArtifactHandler.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     * Assists unit testing.
     *
     */
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     * Assists unit testing.
     *
     */
    @Deprecated
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. cmd/metrics-resource.go

    				}
    			}
    		}
    
    		return metrics
    	})
    	return mg
    }
    
    // metricsResourceHandler is the prometheus handler for resource metrics
    func metricsResourceHandler() http.Handler {
    	return metricsHTTPHandler(resourceCollector, "handler.MetricsResource")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

     *   <li>a {@linkplain ThreadFactoryBuilder#setNameFormat naming format}
     *   <li>a {@linkplain Thread#setPriority thread priority}
     *   <li>an {@linkplain Thread#setUncaughtExceptionHandler uncaught exception handler}
     *   <li>a {@linkplain ThreadFactory#newThread backing thread factory}
     * </ul>
     *
     * <p>If no backing thread factory is provided, a default backing thread factory is used as if by
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:35:26 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. logger/slog.go

    		ctx = context.Background()
    	}
    
    	if !l.Logger.Enabled(ctx, level) {
    		return
    	}
    
    	r := slog.NewRecord(time.Now(), level, msg, utils.CallerFrame().PC)
    	r.Add(args...)
    	_ = l.Logger.Handler().Handle(ctx, r)
    }
    
    // ParamsFilter filter params
    func (l *slogLogger) ParamsFilter(ctx context.Context, sql string, params ...interface{}) (string, []interface{}) {
    	if l.Parameterized {
    		return sql, nil
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top