Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,572 for Creates (0.15 sec)

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

                    }
                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. internal/auth/credentials.go

    	case nil:
    		expAt, err = 0, nil
    	default:
    		expAt, err = 0, ErrInvalidDuration
    	}
    	if expAt < 0 {
    		return 0, ErrInvalidDuration
    	}
    	return expAt, err
    }
    
    // GenerateCredentials - creates randomly generated credentials of maximum
    // allowed length.
    func GenerateCredentials() (accessKey, secretKey string, err error) {
    	accessKey, err = GenerateAccessKey(accessKeyMaxLen, rand.Reader)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

      /**
       * Creates an {@code ImmutableMap} backed by a JDK HashMap. Used when probable hash flooding is
       * detected. This implementation may replace the entries in entryArray with its own entry objects
       * (though they will have the same key/value contents), and will take ownership of entryArray.
       */
      static <K, V> ImmutableMap<K, V> create(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/TempFileCreator.java

        // https://github.com/google/guava/issues/4011#issuecomment-770020802
        // So we can create files there with any permissions and still get security from the isolation.
        return new JavaIoCreator();
      }
    
      /**
       * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

            System.arraycopy(passwordHash, 0, key, 0, 16);
            byte[] ntResponse = new byte[24];
            NtlmUtil.E(key, sessionHash, ntResponse);
            return ntResponse;
        }
    
    
        /**
         * Creates the LMv2 response for the supplied information.
         *
         * @param domain
         *            The domain in which the username exists.
         * @param user
         *            The username.
         * @param password
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
          for (Object e : elements) {
            array[i++] = (Short) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

        @Override
        public List<Character> create(Object... elements) {
          Character[] array = new Character[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Character) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
          for (Object e : elements) {
            array[i++] = (Short) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        }
    
        @Override
        public List<Long> create(Object... elements) {
          Long[] array = new Long[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Long) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
         * {@link #create(Object...)}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. internal/deadlineconn/deadlineconn.go

    	return c
    }
    
    // WithWriteDeadline sets a new write side net.Conn deadline.
    func (c *DeadlineConn) WithWriteDeadline(d time.Duration) *DeadlineConn {
    	c.writeDeadline = d
    	return c
    }
    
    // New - creates a new connection object wrapping net.Conn with deadlines.
    func New(c net.Conn) *DeadlineConn {
    	return &DeadlineConn{
    		Conn: c,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 17:40:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top