Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for overlap (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertThat(expected).hasMessageThat().contains("connected");
    
        // adjacent below
        assertEquals(Range.closedOpen(4, 4), range.intersection(Range.closedOpen(2, 4)));
    
        // overlap below
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(2, 6)));
    
        // enclosed with same start
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(4, 6)));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/FileNotifyInformationTest.java

                // Check that no two flags overlap (except combined flags)
                for (int i = 0; i < flags.length; i++) {
                    for (int j = i + 1; j < flags.length; j++) {
                        assertEquals(0, flags[i] & flags[j], String.format("Flags at index %d and %d should not overlap", i, j));
                    }
                }
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

          TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]
        }
        val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags]
        // Special case types that have overlap flag values.
        return when {
          type == TYPE_PUSH_PROMISE && flags and FLAG_END_PUSH_PROMISE != 0 -> {
            result.replace("HEADERS", "PUSH_PROMISE") // TODO: Avoid allocation.
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/RangeTest.java

        assertThat(expected).hasMessageThat().contains("connected");
    
        // adjacent below
        assertEquals(Range.closedOpen(4, 4), range.intersection(Range.closedOpen(2, 4)));
    
        // overlap below
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(2, 6)));
    
        // enclosed with same start
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(4, 6)));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and
       * will be merged.
       *
       * @throws IllegalArgumentException if any ranges overlap or are empty
       * @since 21.0
       */
      public static <C extends Comparable<?>> ImmutableRangeSet<C> copyOf(Iterable<Range<C>> ranges) {
        return new ImmutableRangeSet.Builder<C>().addAll(ranges).build();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            checkInvalidRange("[1.0,1.0)");
            checkInvalidRange("(1.0,1.0)");
            checkInvalidRange("[1.1,1.0]");
            checkInvalidRange("[1.0,1.2),1.3");
            // overlap
            checkInvalidRange("[1.0,1.2),(1.1,1.3]");
            // overlap
            checkInvalidRange("[1.1,1.3),(1.0,1.2]");
            // ordering
            checkInvalidRange("(1.1,1.2],[1.0,1.1)");
        }
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design { #design }
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbConstantsTest.java

                    assertNotEquals(attributes[i], attributes[j], "Attributes should have distinct values");
                    assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns");
                }
            }
        }
    
        @Test
        @DisplayName("Should have resource types with power-of-2 values")
        void testResourceTypeBitPatterns() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeMap.java

        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
         *
         * @throws IllegalArgumentException if any two ranges inserted into this builder overlap
         */
        public ImmutableRangeMap<K, V> build() {
          sort(entries, Range.<K>rangeLexOrdering().onKeys());
          ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(entries.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

                byte[] outputBytes, int ioctlFlags) {
            final int headerLen = 64; // SMB2 header is 64 bytes
            final int bodyFixed = 48; // body size minus 1 for structure size field overlap
            final int payloadStart = headerLen + bodyFixed;
            final int bodyLen = bodyFixed + inputCount + outputCount;
    
            byte[] buf = new byte[bodyLen];
            int pos = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top