Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 407 for xHello (0.11 sec)

  1. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/testx.go

    func GoFunc49633(context unsafe.Pointer) {
    	h := *(*cgo.Handle)(context)
    	v := h.Value().(*data49633)
    	v.msg = "hello"
    }
    
    func test49633(t *testing.T) {
    	v := &data49633{}
    	h := cgo.NewHandle(v)
    	defer h.Delete()
    	C.cfunc49633(unsafe.Pointer(&h))
    	if v.msg != "hello" {
    		t.Errorf("msg = %q, want 'hello'", v.msg)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. src/crypto/tls/key_agreement.go

    // encrypts the pre-master secret to the server's public key.
    type rsaKeyAgreement struct{}
    
    func (ka rsaKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
    	return nil, nil
    }
    
    func (ka rsaKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/crypto/ed25519/ed25519_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    	message := []byte("Hello, world!")
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		Sign(priv, message)
    	}
    }
    
    func BenchmarkVerification(b *testing.B) {
    	var zero zeroReader
    	pub, priv, err := GenerateKey(zero)
    	if err != nil {
    		b.Fatal(err)
    	}
    	message := []byte("Hello, world!")
    	signature := Sign(priv, message)
    	b.ResetTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr1_gradle_init.adoc

    [source, java]
    ----
    package authoring.tutorial;
    
    public class App {
        public String getGreeting() {
            return "Hello World!";
        }
    
        public static void main(String[] args) {
            System.out.println(new App().getGreeting());
        }
    }
    ----
    
    The code prints out a simple "Hello World" greeting to the screen.
    
    A test class is available at `app/src/test/java/authoring/tutorial/AppTest.java`:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 22:50:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/net/http/clientserver_test.go

    	// We should have "Hello" at least sitting there.
    	firstRead := make([]byte, 10)
    	n, err := res.Body.Read(firstRead)
    	if err != nil {
    		t.Fatal(err)
    	}
    	firstRead = firstRead[:n]
    
    	close(cancel)
    
    	rest, err := io.ReadAll(res.Body)
    	all := string(firstRead) + string(rest)
    	if all != "Hello" {
    		t.Errorf("Read %q (%q + %q); want Hello", all, firstRead, rest)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/DuplexTest.kt

          MockResponse.Builder()
            .headersDelay(1500, TimeUnit.MILLISECONDS)
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .post(DelayedRequestBody("hello".toRequestBody(null), 1500, TimeUnit.MILLISECONDS))
            .build()
        client =
          client.newBuilder()
            .readTimeout(1000, TimeUnit.MILLISECONDS)
            .build()
        val call = client.newCall(request)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    			expectedReason: metav1.StatusReasonAlreadyExists,
    		},
    		{
    			name:           "Nested, no match",
    			err:            fmt.Errorf("wrapping: %w", fmt.Errorf("some more: %w", errors.New("hello"))),
    			expectedReason: metav1.StatusReasonUnknown,
    		},
    		{
    			name:           "Nil",
    			expectedReason: metav1.StatusReasonUnknown,
    		},
    	}
    
    	for _, tc := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

                import org.junit.Test;
    
                public class FooTest {
                    @Test
                    public void test() {
                        System.out.println("Hello from FooTest");
                    }
                }
            """.stripIndent()
    
            buildFile << """
                plugins {
                    id 'java'
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  10. README.md

    #### *Try your first TensorFlow program*
    
    ```shell
    $ python
    ```
    
    ```python
    >>> import tensorflow as tf
    >>> tf.add(1, 2).numpy()
    3
    >>> hello = tf.constant('Hello, TensorFlow!')
    >>> hello.numpy()
    b'Hello, TensorFlow!'
    ```
    
    For more examples, see the
    [TensorFlow tutorials](https://www.tensorflow.org/tutorials/).
    
    ## Contribution guidelines
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top