Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for enclosing (0.2 sec)

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

        // equal
        assertEquals(range, range.intersection(range));
    
        // enclosing with same start
        assertEquals(range, range.intersection(Range.closed(4, 10)));
    
        // enclosing with same end
        assertEquals(range, range.intersection(Range.closed(2, 8)));
    
        // enclosing, exterior
        assertEquals(range, range.intersection(Range.closed(2, 10)));
    
        // overlap above
    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. guava-tests/test/com/google/common/collect/RangeTest.java

        // equal
        assertEquals(range, range.intersection(range));
    
        // enclosing with same start
        assertEquals(range, range.intersection(Range.closed(4, 10)));
    
        // enclosing with same end
        assertEquals(range, range.intersection(Range.closed(2, 8)));
    
        // enclosing, exterior
        assertEquals(range, range.intersection(Range.closed(2, 10)));
    
        // overlap above
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeRangeSet.java

        }
    
        @Override
        public boolean encloses(Range<C> range) {
          if (!restriction.isEmpty() && restriction.encloses(range)) {
            Range<C> enclosing = TreeRangeSet.this.rangeEnclosing(range);
            return enclosing != null && !enclosing.intersection(restriction).isEmpty();
          }
          return false;
        }
    
        @Override
        public @Nullable Range<C> rangeContaining(C value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

            // Mapping already established
            // This is possible when following both superClass -> enclosingClass
            // and enclosingclass -> superClass paths.
            // Since we follow the path of superclass first, enclosing second,
            // superclass mapping should take precedence.
            return;
          }
          // First, check whether var -> arg forms a cycle
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

            // Mapping already established
            // This is possible when following both superClass -> enclosingClass
            // and enclosingclass -> superClass paths.
            // Since we follow the path of superclass first, enclosing second,
            // superclass mapping should take precedence.
            return;
          }
          // First, check whether var -> arg forms a cycle
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

           *   the task and detect whether it has been cancelled.)
           *
           * - ReschedulableCallable has a reference back to its enclosing CustomScheduler. (It needs it
           *   so that it can call getNextSchedule).
           *
           * Maybe there is a way to avoid this cycle. But we think the cycle is safe enough to ignore:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

           *   the task and detect whether it has been cancelled.)
           *
           * - ReschedulableCallable has a reference back to its enclosing CustomScheduler. (It needs it
           *   so that it can call getNextSchedule).
           *
           * Maybe there is a way to avoid this cycle. But we think the cycle is safe enough to ignore:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      private val headersReader = HeadersReader(socket.source)
    
      private val Response.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      private val Request.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      /**
       * Trailers received when the response body became exhausted.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  9. src/main/java/org/codelibs/core/io/CopyUtil.java

         */
        public static int copy(final InputStream in, final String encoding, final Writer out) {
            assertArgumentNotNull("in", in);
            assertArgumentNotEmpty("encoding", encoding);
            assertArgumentNotNull("out", out);
    
            final Reader is = ReaderUtil.create(wrap(in), encoding);
            return copyInternal(is, wrap(out));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

     */
    @Throws(IOException::class)
    internal fun BufferedSource.readBomAsCharset(default: Charset): Charset =
      when (select(UNICODE_BOMS)) {
        // a mapping from the index of encoding methods in UNICODE_BOMS to its corresponding encoding method
        0 -> UTF_8
        1 -> UTF_16BE
        2 -> UTF_32LE
        3 -> UTF_16LE
        4 -> UTF_32BE
        -1 -> default
        else -> throw AssertionError()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
Back to top