Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for keystream (0.24 sec)

  1. src/vendor/golang.org/x/crypto/chacha20/chacha_generic.go

    	if s.len != 0 {
    		keyStream := s.buf[bufSize-s.len:]
    		if len(src) < len(keyStream) {
    			keyStream = keyStream[:len(src)]
    		}
    		_ = src[len(keyStream)-1] // bounds check elimination hint
    		for i, b := range keyStream {
    			dst[i] = src[i] ^ b
    		}
    		s.len -= len(keyStream)
    		dst, src = dst[len(keyStream):], src[len(keyStream):]
    	}
    	if len(src) == 0 {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 13.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

        - An unmanaged property (i.e. annotated with @Unmanaged)""")
        }
    
        @Managed
        interface ManagedReadWriteWithInvalidProperty {
            FileInputStream getStream()
    
            void setStream(FileInputStream stream)
        }
    
        def "should fail with a reasonable exception when a type is not managed and not constructible"() {
            when:
            realizeNodeOfType(NonManaged)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        check(!client) { "Client cannot push requests." }
        return newStream(associatedStreamId, requestHeaders, out)
      }
    
      /**
       * Returns a new locally-initiated stream.
       *
       * @param out true to create an output stream that we can use to send data to the remote peer.
       *     Corresponds to `FLAG_FIN`.
       */
      @Throws(IOException::class)
      fun newStream(
        requestHeaders: List<Header>,
        out: Boolean,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. internal/event/target/nats.go

    			target.loggerOnce(context.Background(), err, target.ID().String())
    		}
    		return err
    	}
    
    	if target.natsConn != nil && args.JetStream.Enable {
    		var jstream nats.JetStream
    		jstream, err = target.natsConn.JetStream()
    		if err != nil {
    			if err.Error() != nats.ErrNoServers.Error() {
    				target.loggerOnce(context.Background(), err, target.ID().String())
    			}
    			return err
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/LauncherServices.java

                return parameter.getWarningMode().shouldDisplayMessages() ? diagnosticsFactory.newUnlimitedStream() : diagnosticsFactory.newStream();
            }
    
            @Provides
            BuildTreeActionExecutor createActionExecutor(
                List<BuildActionRunner> buildActionRunners,
                StyledTextOutputFactory styledTextOutputFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 13:01:53 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		}
    		client.cancelFn(context.Canceled)
    		c.outgoing.Delete(client.MuxID)
    	}()
    	return client.traceRoundtrip(ctx, c.trace, h, req)
    }
    
    // NewStream creates a new stream.
    // Initial payload can be reused by the caller.
    func (c *Connection) NewStream(ctx context.Context, h HandlerID, payload []byte) (st *Stream, err error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    	}
    	if c.State() != StateConnected {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top