Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,187 for EXPECTED (0.08 sec)

  1. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

            assertThat(it.next(), is(sameClass(Number.class)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testInterface() throws Exception {
            new ClassIterator(Iterable.class);
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. internal/dsync/lock-args.go

    	Owner string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    	Source string `msgp:"omitempty"`
    
    	// Quorum represents the expected quorum for this lock type.
    	Quorum *int `msgp:"omitempty"`
    }
    
    // ResponseCode is the response code for a locking request.
    type ResponseCode uint8
    
    // Response codes for a locking request.
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceTest.java

        assertLessThan(STOPPING, TERMINATED);
      }
    
      private static <T extends Comparable<? super T>> void assertLessThan(T a, T b) {
        if (a.compareTo(b) >= 0) {
          fail(String.format(Locale.ROOT, "Expected %s to be less than %s", a, b));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      }
    
      public void testHashCode() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        int expected =
            Objects.hashCode("foo", 1, 'a')
                + Objects.hashCode("bar", 1, 'b')
                + Objects.hashCode("foo", 3, 'c');
        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

    import java.io.File;
    import java.io.IOException;
    
    /**
     * A test factory for byte or char sources or sinks. In addition to creating sources or sinks, the
     * factory specifies what content should be expected to be read from a source or contained in a sink
     * given the content data that was used to create the source or that was written to the sink.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/00-bug.yml

        validations:
          required: true
    
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
          description: Why is the current output incorrect, and any additional context we may need to understand the issue.
        validations:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

            for (Element tr : children(classDoc.getMethodsTable(), "tr")) {
                List<Element> cells = children(tr, "td");
                if (cells.size() != 1) {
                    throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr));
                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        try {
          getDone(future);
          fail();
        } catch (CancellationException expected) {
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (CancellationException expected) {
        }
      }
    
      private static void assertDone(AbstractFuture<Integer> future) {
        CountingRunnable listener = new CountingRunnable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
        private
        fun CheckResult.assertBinaryCompatible() {
            assertTrue(richReport.toAssertionMessage("Expected to be compatible but the check failed"), isBinaryCompatible)
        }
    
        private
        fun CheckResult.assertNotBinaryCompatible() {
            assertFalse(richReport.toAssertionMessage("Expected to be breaking but the check passed"), isBinaryCompatible)
        }
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

            int start = bufferIndex;
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 4 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 4");
            }
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
Back to top