Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for setList (0.18 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            // Use reflection to set dataCount
            Field dataCountField = SmbComTransactionResponse.class.getDeclaredField("dataCount");
            dataCountField.setAccessible(true);
            dataCountField.setInt(response, 42);
    
            assertEquals(42, response.getResponseLength());
        }
    
        @Test
        void testGetResponseLengthWithZeroDataCount() {
            assertEquals(0, response.getResponseLength());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                                logger.debug(problem.getMessage(), problem.getException());
                            }
                        }
    
                        Proxy p = new Proxy();
                        p.setHost(proxy.getHost());
                        p.setProtocol(proxy.getProtocol());
                        p.setPort(proxy.getPort());
                        p.setNonProxyHosts(proxy.getNonProxyHosts());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            field.setInt(response, headerStart);
        }
    
        /**
         * Helper method to set status using reflection
         */
        private void setStatus(Smb2ChangeNotifyResponse response, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
            statusField.setAccessible(true);
            statusField.setInt(response, status);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        private void setConverter(NetServerEnum2Response response, int value) throws Exception {
            Field field = response.getClass().getDeclaredField("converter");
            field.setAccessible(true);
            field.setInt(response, value);
        }
    
        private int getNumEntries(NetServerEnum2Response response) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "getNumEntries");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/BigIntegerMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
      public static BigInteger ceilingPowerOfTwo(BigInteger x) {
        return BigInteger.ZERO.setBit(log2(x, CEILING));
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * BigInteger.valueOf(2).pow(log2(x, FLOOR))}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedLong.java

      public BigInteger bigIntegerValue() {
        BigInteger bigInt = BigInteger.valueOf(value & UNSIGNED_MASK);
        if (value < 0) {
          bigInt = bigInt.setBit(Long.SIZE - 1);
        }
        return bigInt;
      }
    
      @Override
      public int compareTo(UnsignedLong o) {
        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                    java.lang.reflect.Field lengthField = ServerMessageBlock2.class.getDeclaredField("length");
                    lengthField.setAccessible(true);
                    lengthField.setInt(this, length);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        private void setStatus(ServerMessageBlock2 smb, int status) throws Exception {
            Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
            statusField.setAccessible(true);
            statusField.setInt(smb, status);
        }
    
        private void setAsync(ServerMessageBlock2 smb, boolean async) throws Exception {
            Field asyncField = ServerMessageBlock2.class.getDeclaredField("async");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.parseUnsignedLong("1234567890abcdef", 16))
            .isEqualTo(0x1234567890abcdefL);
      }
    
      public void testParseLongWithRadixLimits() {
        BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE);
        // loops through all legal radix values.
        for (int r = Character.MIN_RADIX; r <= Character.MAX_RADIX; r++) {
          int radix = r;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            Field f = jcifs.internal.smb2.ServerMessageBlock2.class.getDeclaredField("status");
            f.setAccessible(true);
            f.setInt(resp, status);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top