Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for keystream (0.18 sec)

  1. docs/debugging/inspect/decrypt-v2.go

    import (
    	"errors"
    	"fmt"
    	"io"
    	"os"
    
    	"github.com/minio/madmin-go/v3/estream"
    )
    
    type keepFileErr struct {
    	error
    }
    
    func extractInspectV2(pk []byte, r io.Reader, w io.Writer, okMsg string) error {
    	privKey, err := bytesToPrivateKey(pk)
    	if err != nil {
    		return fmt.Errorf("decoding key returned: %w", err)
    	}
    
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    			t.Fatalf("Unexpected error: %v, %T", err, err)
    		}
    		// Streams should not be able to set up until registered.
    		// Thus, the error is a local error.
    		_, err = remoteConn.NewStream(context.Background(), handlerTest, []byte(testPayload))
    		if !errors.Is(err, ErrUnknownHandler) {
    			t.Fatalf("Unexpected error: %v, %T", err, err)
    		}
    	})
    }
    
    func TestSingleRoundtripGenerics(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/kernels/xla_ops.cc

      VLOG(2) << "Executing Xla Computation.";
      Env* env = Env::Default();
      auto start_time = env->NowMicros();
    
      se::Stream* stream = GetStream(ctx);
      run_options.set_stream(GetStream(ctx));
      run_options.set_allocator(allocator);
      run_options.set_intra_op_thread_pool(&ctx->eigen_cpu_device());
      run_options.set_rng_seed(GetXLARandomSeed());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/main/java/org/gradle/problems/buildtree/ProblemDiagnosticsFactory.java

         * the number of stack traces captured. Each stream has its own limits.
         */
        ProblemStream newStream();
    
        /**
         * Creates a new stream of problems without any limits.
         */
        ProblemStream newUnlimitedStream();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/NoOpProblemDiagnosticsFactory.java

            @Override
            public ProblemDiagnostics forCurrentCaller(Supplier<? extends Throwable> exceptionFactory) {
                return EMPTY_DIAGNOSTICS;
            }
        };
    
        @Override
        public ProblemStream newStream() {
            return EMPTY_STREAM;
        }
    
        @Override
        public ProblemStream newUnlimitedStream() {
            return EMPTY_STREAM;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:13:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. internal/grid/README.md

        })
    ```
    
    Sample call:
    ```go
        // Get a connection to the remote host
        conn := manager.Connection(host).Subroute("asubroute")
    	
        payload := []byte("request")
        stream, err := conn.NewStream(ctx, grid.HandlerDiskInfo, payload)
    	if err != nil {
            return err
        }
        // Read results from the stream
        err = stream.Results(func(result []byte) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/DefaultProblemFactory.kt

    class DefaultProblemFactory(
        private val userCodeContext: UserCodeApplicationContext,
        problemDiagnosticsFactory: ProblemDiagnosticsFactory
    ) : ProblemFactory {
        private
        val problemStream = problemDiagnosticsFactory.newStream()
    
        override fun locationForCaller(consumer: String?): PropertyTrace =
            locationForCaller(consumer, userCodeContext.current()?.source)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. internal/grid/handlers.go

    	sharedResponse bool
    }
    
    // NewStream creates a typed handler that can provide Marshal/Unmarshal.
    // Use Register to register a server handler.
    // Use Call to initiate a clientside call.
    // newPayload can be nil. In that case payloads will always be nil.
    // newReq can be nil. In that case no input stream is expected and the handler will be called with nil 'in' channel.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. internal/grid/benchmark_test.go

    					if conn == nil {
    						b.Fatal("No connection")
    					}
    					ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
    					// Send the payload.
    					t := time.Now()
    					st, err := conn.NewStream(ctx, handlerTest, payload)
    					if err != nil {
    						if debugReqs {
    							fmt.Println(err.Error())
    						}
    						b.Fatal(err.Error())
    					}
    					got := 0
    					err = st.Results(func(b []byte) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/main/java/org/gradle/internal/problems/DefaultProblemDiagnosticsFactory.java

            this.locationAnalyzer = locationAnalyzer;
            this.userCodeContext = userCodeContext;
            this.maxStackTraces = maxStackTraces;
        }
    
        @Override
        public ProblemStream newStream() {
            return new DefaultProblemStream();
        }
    
        @Override
        public ProblemStream newUnlimitedStream() {
            DefaultProblemStream defaultProblemStream = new DefaultProblemStream();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:13:26 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top