Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,101 for chains (0.18 sec)

  1. test/chan/fifo.go

    const N = 10
    
    func AsynchFifo() {
    	ch := make(chan int, N)
    	for i := 0; i < N; i++ {
    		ch <- i
    	}
    	for i := 0; i < N; i++ {
    		if <-ch != i {
    			print("bad receive\n")
    			os.Exit(1)
    		}
    	}
    }
    
    func Chain(ch <-chan int, val int, in <-chan int, out chan<- int) {
    	<-in
    	if <-ch != val {
    		panic(val)
    	}
    	out <- 1
    }
    
    // thread together a daisy chain to read the elements in sequence
    func SynchFifo() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 22:35:07 UTC 2017
    - 896 bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitComponentReportIntegrationTest.groovy

            install using task: :installSomeExeExecutable
            build type: build type 'debug'
            flavor: flavor 'default'
            target platform: platform '$currentNative'
            tool chain: Tool chain 'clang' (Clang)
            executable file: build/exe/someExe/someExe
    
    Cunit test suite 'someExeTest'
    ------------------------------
    
    Source sets
        C source 'someExeTest:c'
            srcDir: src/someExeTest/c
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        protected void createFilterChain() {
            FilterChain chain = createDefaultFilterChain();
            for (final Filter element : filterList) {
                chain = appendFilterChain(element, chain);
            }
            filterChain = chain;
        }
    
        protected FilterChain appendFilterChain(final Filter filter, final FilterChain chain) {
            return query -> filter.parse(query, chain);
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *    server's hostname. The server must also have is a (possibly-empty) chain of intermediate
     *    certificates to establish trust from a root certificate to the server's certificate. The root
     *    certificate is not included in this chain.
     *  * The client's handshake certificates must include a set of trusted root certificates. They will
     *    be used to authenticate the server's certificate chain. Typically this is a set of well-known
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/async_op_thread.mlir

    // RUN: tfrt_fallback_translate -mlir-to-bef %s | tf_bef_executor --work_queue_type=mstd 2>&1 | FileCheck %s
    
    func.func @test_async_op_kernel_thread() -> !tfrt.chain {
      %ch0 = tfrt.new.chain
    
      %ch1 = tfrt_fallback_async.createop(%ch0) key(0) device("/CPU:0") "tf.Const"()
             { dtype = i32, value = dense<[2]> : tensor<1xi32> } num_args(0)
      %ch2 = tfrt_fallback_async.createop(%ch1) key(1) device("/CPU:0")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 18 22:58:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/runtime/vdso_linux.go

    		return true
    	}
    
    	if !info.isGNUHash {
    		// Old-style DT_HASH table.
    		for _, k := range vdsoSymbolKeys {
    			if len(info.bucket) > 0 {
    				for chain := info.bucket[k.symHash%uint32(len(info.bucket))]; chain != 0; chain = info.chain[chain] {
    					if apply(chain, k) {
    						break
    					}
    				}
    			}
    		}
    		return
    	}
    
    	// New-style DT_GNU_HASH table.
    	for _, k := range vdsoSymbolKeys {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. src/internal/dag/alg_test.go

    	t.Run("diamond", func(t *testing.T) {
    		g := mustParse(t, diamond)
    		g.TransitiveReduction()
    		wantEdges(t, g, "b->a c->a d->b d->c")
    	})
    	t.Run("chain", func(t *testing.T) {
    		const chain = `NONE < a < b < c < d; a, d < e;`
    		g := mustParse(t, chain)
    		g.TransitiveReduction()
    		wantEdges(t, g, "e->d d->c c->b b->a")
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:44 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
              .add("Date", new Date())
              .build();
          Request newRequest = request.newBuilder()
              .headers(newHeaders)
              .build();
          return chain.proceed(newRequest);
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Oct 31 15:32:50 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authorization/union/union.go

    )
    
    // unionAuthzHandler authorizer against a chain of authorizer.Authorizer
    type unionAuthzHandler []authorizer.Authorizer
    
    // New returns an authorizer that authorizes against a chain of authorizer.Authorizer objects
    func New(authorizationHandlers ...authorizer.Authorizer) authorizer.Authorizer {
    	return unionAuthzHandler(authorizationHandlers)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 28 20:27:28 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper_test.go

    			return
    		}
    		conn.Close()
    	}))
    	handler = chain(handler)
    	handler = chain(handler)
    
    	server := newServer(t, handler, false)
    	defer server.Close()
    
    	sendRequest(t, server)
    }
    
    func TestWithHTTP2(t *testing.T) {
    	var originalWant http.ResponseWriter
    	counterGot := &counter{}
    	chain := func(h http.Handler) http.Handler {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:53 UTC 2021
    - 8.1K bytes
    - Viewed (0)
Back to top