Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for t1 (0.01 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            @Override
            public int compare(final MyToken t1, final MyToken t2) {
                if (t1.startOffset < t2.startOffset) {
                    return -1;
                } else if (t1.startOffset > t2.startOffset) {
                    return 1;
                }
    
                if (t1.endOffset < t2.endOffset) {
                    return -1;
                } else if (t1.endOffset > t2.endOffset) {
                    return 1;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. ci/official/utilities/rename_and_verify_wheels.sh

    fi
    "$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
    # Import tf nightly wheel built with numpy2 from PyPI in numpy1 env for testing.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 21:18:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        assertThrows(IllegalArgumentException.class, () -> resolver.where(t, String.class));
      }
    
      public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() {
        Type t1 = new TypeCapture<T1>() {}.capture();
        Type t2 = new TypeCapture<T2>() {}.capture();
        assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1));
      }
    
      public <T> void testWhere_genericArrayMapping() {
        Type t = new TypeCapture<T>() {}.capture();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        assertThrows(IllegalArgumentException.class, () -> resolver.where(t, String.class));
      }
    
      public <T1, T2 extends List<T1>> void testWhere_recursiveMapping() {
        Type t1 = new TypeCapture<T1>() {}.capture();
        Type t2 = new TypeCapture<T2>() {}.capture();
        assertEquals(t2, new TypeResolver().where(t1, t2).resolveType(t1));
      }
    
      public <T> void testWhere_genericArrayMapping() {
        Type t = new TypeCapture<T>() {}.capture();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

        response.body().close();
      }
    
      private static class LoggingInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          long t1 = System.nanoTime();
          Request request = chain.request();
          logger.info(String.format("Sending request %s on %s%n%s",
              request.url(), chain.connection(), request.headers()));
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

        }
    
        assertThat(log.take()).isEqualTo("runOnce delays.size=2")
        val t2 = System.nanoTime() / 1e6 - t1
        assertThat(t2).isCloseTo(750.0, 250.0)
    
        assertThat(log.take()).isEqualTo("runOnce delays.size=1")
        val t3 = System.nanoTime() / 1e6 - t1
        assertThat(t3).isCloseTo(1750.0, 250.0)
      }
    
      @Test fun taskFailsWithUncheckedException() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/NtlmTest.java

            int flags = 0x80000000;
            String suppliedDomain = "TESTDOM";
            String suppliedWorkstation = "TESTWS";
            Type1Message t1 = new Type1Message(this.context, flags, suppliedDomain, suppliedWorkstation);
    
            int origFlags = t1.getFlags();
    
            Type1Message parsed = new Type1Message(t1.toByteArray());
    
            assertEquals(origFlags, parsed.getFlags());
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

        python3 -m pip install "$TF_WHEEL"
    }
    
    @test "TensorFlow is importable" {
        source /tf/venv/bin/activate
        python3 -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)'
    }
    
    # Is this still useful?
    @test "TensorFlow has Keras" {
        source /tf/venv/bin/activate
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ElementOrder.java

          case SORTED:
            return Maps.newTreeMap(comparator());
        }
        throw new AssertionError();
      }
    
      @SuppressWarnings("unchecked")
      <T1 extends T> ElementOrder<T1> cast() {
        return (ElementOrder<T1>) this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/ElementOrder.java

          case SORTED:
            return Maps.newTreeMap(comparator());
        }
        throw new AssertionError();
      }
    
      @SuppressWarnings("unchecked")
      <T1 extends T> ElementOrder<T1> cast() {
        return (ElementOrder<T1>) this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top