Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 208 for middle (0.04 seconds)

  1. guava/src/com/google/common/collect/SortedLists.java

        while (lower <= upper) {
          int middle = (lower + upper) >>> 1;
          int c = comparator.compare(key, list.get(middle));
          if (c < 0) {
            upper = middle - 1;
          } else if (c > 0) {
            lower = middle + 1;
          } else {
            return lower
                + presentBehavior.resultIndex(
                    comparator, key, list.subList(lower, upper + 1), middle - lower);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/SortedLists.java

        while (lower <= upper) {
          int middle = (lower + upper) >>> 1;
          int c = comparator.compare(key, list.get(middle));
          if (c < 0) {
            upper = middle - 1;
          } else if (c > 0) {
            lower = middle + 1;
          } else {
            return lower
                + presentBehavior.resultIndex(
                    comparator, key, list.subList(lower, upper + 1), middle - lower);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            void testToStringWithNestedExceptions() {
                Exception innermost = new IOException("Innermost exception");
                Exception middle = new RuntimeException("Middle exception", innermost);
                Exception rootCause = new IllegalStateException("Outer exception", middle);
                TransportException exception = new TransportException("Transport failed", rootCause);
    
                String result = exception.toString();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            value = "\"\"\"start\"\"\",\"\"\"middle\"\"\",\"\"\"end\"\"\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(3, result.length);
            assertEquals("\"\"start\"\"", result[0]);
            assertEquals("\"\"middle\"\"", result[1]);
            assertEquals("\"\"\"end\"\"\"", result[2]);
    
            // Complex escaped scenario - only middle field gets unquoted (no internal quotes)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            int result = response.readParametersWireFormat(buffer, 0, 3);
    
            // Assert
            assertEquals(6, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat ignores middle 2 bytes")
        void testReadParametersWireFormatIgnoresMiddleBytes() {
            // Arrange
            byte[] buffer = new byte[10];
            SMBUtil.writeInt2(200, buffer, 0);
            // These bytes should be ignored
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. docs/en/docs/python-types.md

    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py310.py hl[1] *}
    
    ### `typing` module { #typing-module }
    
    For some additional use cases, you might need to import some things from the standard library `typing` module, for example when you want to declare that something has "any type", you can use `Any` from `typing`:
    
    ```python
    from typing import Any
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     * The easiest way to pin a host is turn on pinning with a broken configuration and read the
     * expected configuration when the connection fails. Be sure to do this on a trusted network, and
     * without man-in-the-middle tools like [Charles][charles] or [Fiddler][fiddler].
     *
     * For example, to pin `https://publicobject.com`, start with a broken configuration:
     *
     * ```java
     * String hostname = "publicobject.com";
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                        String.format(
                                "Timing attack vulnerability detected: timing ratio %.3f exceeds tolerance %.3f "
                                        + "(start: %d ns, middle: %d ns, end: %d ns)",
                                timingRatio, TIMING_TOLERANCE, timeStart, timeMiddle, timeEnd));
            } finally {
                // Clean up resources
                baseAuth.close();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Root cause");
            RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
            ContainerNotAvailableException topException = new ContainerNotAvailableException("dbConnection", middleCause);
    
            assertEquals("dbConnection is not available.", topException.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

                EndpointPair.unordered(1, 1),
                EndpointPair.unordered(1, 3))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top