Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for getOpt (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      private List<E> values;
      private E a;
      private E b;
      private E c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableSet = (NavigableSet<E>) getSet();
        values =
            copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
        sort(values, navigableSet.comparator());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            return pd;
        }
    
        @Override
        public PropertyDesc getPropertyDesc(final int index) {
            assertArgumentArrayIndex("index", index, getPropertyDescSize());
    
            return propertyDescCache.getAt(index);
        }
    
        @Override
        public int getPropertyDescSize() {
            return propertyDescCache.size();
        }
    
        @Override
        public Iterable<PropertyDesc> getPropertyDescs() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. src/main/java/jcifs/Config.java

         * @param def the default value to return if key is not found or cannot be parsed
         * @return the integer value of the property or the default value
         */
        public static int getInt(final Properties props, final String key, int def) {
            final String s = props.getProperty(key);
            if (s != null) {
                try {
                    def = Integer.parseInt(s);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

         * Private constructor to prevent instantiation of this utility class.
         */
        private BufferCache() {
            // Utility class - not instantiable
        }
    
        private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);
        private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum
    
        // Use concurrent queue for lock-free operations
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        private int getStatus(NetServerEnum2Response response) throws Exception {
            Field field = getSuperclassField(response.getClass(), "status");
            field.setAccessible(true);
            return field.getInt(response);
        }
    
        private void setStatus(NetServerEnum2Response response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            Field informationLevelField = Trans2QueryFSInformation.class.getDeclaredField("informationLevel");
            informationLevelField.setAccessible(true);
            assertEquals(level, informationLevelField.getInt(cmd), "informationLevel should be persisted");
        }
    
        @Test
        @DisplayName("writeSetupWireFormat writes the subCommand and a trailing 0")
        void testWriteSetupWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

                this.realm = p.getProperty("jcifs.http.basicRealm");
                this.netbiosLookupRespLimit = Config.getInt(p, "jcifs.netbios.lookupRespLimit", 3);
                this.netbiosCacheTimeout = Config.getInt(p, "jcifs.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */
    
                if (this.realm == null) {
                    this.realm = "jCIFS";
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    abstract class SmbComTransaction extends ServerMessageBlock implements Enumeration {
    
        private static final int DEFAULT_MAX_DATA_COUNT =
                Config.getInt("jcifs.smb1.smb.client.transaction_buf_size", SmbComTransaction.TRANSACTION_BUF_SIZE) - 512;
    
        // relative to headerStart
        private static final int PRIMARY_SETUP_OFFSET = 61;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/ArrayMap.java

        }
    
        /**
         * Returns the value at the specified index.
         *
         * @param index
         *            the index
         * @return the value at the specified index
         */
        public V getAt(final int index) {
            return getEntryAt(index).getValue();
        }
    
        /**
         * Returns the key at the specified index.
         *
         * @param index
         *            the index
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    class SmbComSessionSetupAndX extends AndXServerMessageBlock {
    
        private static final int BATCH_LIMIT = Config.getInt("jcifs.smb1.smb.client.SessionSetupAndX.TreeConnectAndX", 1);
        private static final boolean DISABLE_PLAIN_TEXT_PASSWORDS = Config.getBoolean("jcifs.smb1.smb.client.disablePlainTextPasswords", true);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top