Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for t1 (0.15 sec)

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

      }
    
      public <T extends NoInterface, T1 extends T, T2 extends T1>
          void testGetGenericInterfaces_typeVariable_boundIsTypeVariableAndClass() {
        assertThat(TypeToken.of(new TypeCapture<T2>() {}.capture()).getGenericInterfaces()).isEmpty();
        assertHasArrayInterfaces(new TypeToken<T2[]>() {});
      }
    
      public <T extends Iterable<T>, T1 extends T, T2 extends T1>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    		Name string
    	}
    
    	DB.Migrator().DropTable(&EmbeddedTag{})
    	err := DB.Migrator().AutoMigrate(&EmbeddedTag{})
    	AssertEqual(t, err, nil)
    
    	t1 := EmbeddedTag{Name: "embedded_tag"}
    	err = DB.Save(&t1).Error
    	AssertEqual(t, err, nil)
    	if t1.Tag1.Id == 0 {
    		t.Errorf("embedded struct's primary field should be rewrited")
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  3. ci/official/utilities/rename_and_verify_wheels.sh

    python="$venv/bin/python3"
    "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS
    if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then
      "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)'
      "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)'
    fi
    # VERY basic check to ensure the [and-cuda] package variant is installable.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/DispatcherTest.kt

                }
                chain.proceed(chain.request())
              },
            )
            .build()
        val t1 = makeSynchronousCall(client.newCall(newRequest("http://a/3")))
        ready.await(5, TimeUnit.SECONDS)
        executor.finishJob("http://a/2")
        assertThat(idle.get()).isFalse()
        proceed.countDown()
        t1.join()
        assertThat(idle.get()).isTrue()
      }
    
      @Test
      fun executionRejectedImmediately() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
        logger.info(String.format("Received response for %s in %.1fms%n%s",
            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        for (int i = 0; i < SIZE; i++) {
          aa.set(i, (double) COUNTDOWN);
        }
        Counter c1 = new Counter(aa);
        Counter c2 = new Counter(aa);
        Thread t1 = newStartedThread(c1);
        Thread t2 = newStartedThread(c2);
        awaitTermination(t1);
        awaitTermination(t2);
        assertEquals(SIZE * COUNTDOWN, c1.counts + c2.counts);
      }
    
      /** a deserialized serialized array holds same values */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

                    + " -Dversion=aVersion -Dclassifier=aClassifier -Dpackaging=jar -Dfile=/path/to/file"
                    + " -Durl=[url] -DrepositoryId=[id]" + LS + LS + "  Path to dependency: " + LS + "  \t1) dependency1"
                    + LS + "  \t2) dependency2" + LS + LS;
            String actual = AbstractArtifactResolutionException.constructMissingArtifactMessage(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

                  SmbSessionInternal sess2 = th2.getSession().unwrap(SmbSessionInternal.class);
                  SmbTransport t1 = sess1.getTransport();
                  SmbTransport t2 = sess2.getTransport() ) {
    
                Assert.assertEquals(t1, t2);
            }
    
        }
    
    
        // this test is meant to test server-side session invalidation behavior
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  9. cmd/object-api-listobjects_test.go

    	_testListObjects(obj, instanceType, t1, true)
    }
    
    // Unit test for ListObjects.
    func testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	_testListObjects(obj, instanceType, t1, false)
    }
    
    func _testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler, versioned bool) {
    	t, _ := t1.(*testing.T)
    	testBuckets := []string{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

            String f2name, t1, t2;
            int i;
    
            if ( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            f2name = f2.getName();
            if ( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase(f2name);
            }
            i = f1name.lastIndexOf('.');
            t1 = i == -1 ? "" : f1name.substring(i + 1);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
Back to top