Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 733 for original (0.23 sec)

  1. .github/workflows/create_issue.js

      }
      const pr_number = parseInt(pr_match_groups[1]);
      const owner = context.payload.repository.owner.name;
      const repo = context.payload.repository.name;
      console.log(`Original PR: ${pr_number} and Rollback Commit: ${rollback_commit}`);
      // Get the Original PR Details
      const pr_resp = await github.rest.pulls.get({
        owner,
        repo,
        pull_number: pr_number
      });
      if (pr_resp.status != 200 || pr_resp.data.state != 'closed') {
    JavaScript
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 18 23:04:59 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/custom_device_testutil.cc

                     "first copied to other devices.");
        return;
      }
      TFE_Context* context = TFE_OpGetContext(original_op, s);
      if (TF_GetCode(s) != TF_OK) return;
      const char* operation_name = TFE_OpGetName(original_op, s);
      if (TF_GetCode(s) != TF_OK) return;
      const TFE_OpAttrs* attributes = TFE_OpGetAttrs(original_op);
    
      TFE_Op* op(TFE_NewOp(context, operation_name, s));
      if (TF_GetCode(s) != TF_OK) return;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FauxveridesTest.java

       */
    
      public void testImmutableSortedMapCopyOfMap() {
        Map<Object, Object> original =
            ImmutableMap.of(new Object(), new Object(), new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    
      public void testImmutableSortedSetCopyOfIterable() {
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

       */
    
      public void testImmutableSortedMapCopyOfMap() {
        Map<Object, Object> original =
            ImmutableMap.of(new Object(), new Object(), new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    
      public void testImmutableSortedSetCopyOfIterable() {
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

            }
    
            return result;
    
        }
    
        /**
         * Quote and escape input value for CSV
         *
         * @param original Original text.
         * @return Escaped text.
         */
        public static String quoteEscape(final String original) {
            String result = original;
    
            if (result.indexOf('\"') >= 0) {
                result = result.replace("\"", ESCAPED_QUOTE);
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/SerializableTester.java

    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
                Relocation relocation = relocations.getRelocation(original);
                if (relocation != null
                        && (isProjectContext(artifactDescriptorResult.getRequest().getRequestContext())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

     *
     * @author Nick Kralevich
     */
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
        String copy = SerializableTester.reserializeAndAssert(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
      public void testClassWhichDoesNotImplementEquals() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/testing-dependencies.md

    There are some scenarios where you might want to override a dependency during testing.
    
    You don't want the original dependency to run (nor any of the sub-dependencies it might have).
    
    Instead, you want to provide a different dependency that will be used only during tests (possibly only some specific tests), and will provide a value that can be used where the value of the original dependency was used.
    
    ### Use cases: external service
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

      }
    
      public void testSerialization() {
        EvictingQueue<String> original = EvictingQueue.create(5);
        original.add("one");
        original.add("two");
        original.add("three");
    
        EvictingQueue<String> copy = SerializableTester.reserialize(original);
        assertEquals(copy.maxSize, original.maxSize);
        assertEquals("one", copy.remove());
        assertEquals("two", copy.remove());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top