Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 289 for enclosing (3.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, next.maxSetupCount, "Max setup count must be 0");
    
            // Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding
            byte[] buf = new byte[2 + 2 + 2 + 4 + 2 + filename.length() + 1];
            int n = next.writeParametersWireFormat(buf, 0);
            assertEquals(buf.length, n, "Parameter bytes written should match expected length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Strings.java

        private Strings() {
        }
    
        /**
         * Encodes a string into bytes using the specified encoding.
         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            netdfs.DfsInfo1 info1 = new netdfs.DfsInfo1();
            info1.entry_path = "test_path";
    
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            // Create buffer for encoding - initially allocate some space
            byte[] encodeBuffer = new byte[1024];
            NdrBuffer dst = new NdrBuffer(encodeBuffer, 0);
            info1.encode(dst);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  7. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

          response("https://httpbin.org/brotli", s.decodeHex()) {
            header("Content-Encoding", "br")
          }
    
        val uncompressed = brotliInterceptor.decompress(response)
    
        val responseString = uncompressed.body.string()
        assertThat(responseString).contains("\"brotli\": true,")
        assertThat(responseString).contains("\"Accept-Encoding\": \"br\"")
      }
    
      @Test
      fun testUncompressGzip() {
        val s =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("Should encode value correctly")
            void testEncode() throws NdrException {
                // Given: NdrShort with test value
                int testValue = 123;
                NdrShort ndrShort = new NdrShort(testValue);
    
                // When: Encoding the value
                ndrShort.encode(mockBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. pom.xml

    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>3.14.0</version>
    				<configuration>
    					<encoding>UTF-8</encoding>
    					<release>21</release>
    				</configuration>
    			</plugin>
    			<plugin>
    				<artifactId>maven-javadoc-plugin</artifactId>
    				<version>3.11.2</version>
    				<configuration>
    					<encoding>UTF-8</encoding>
    					<docencoding>UTF-8</docencoding>
    					<charset>UTF-8</charset>
    				</configuration>
    			</plugin>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 03:01:32 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                // Mock the derive method to return a buffer for node encoding
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the UUID
                uuid.encode(mockNdrBuffer);
    
                // Then: Verify the encoding sequence
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(0x12345678);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top