Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1131 - 1140 of 6,020 for new1 (0.03 seconds)

  1. src/main/java/jcifs/util/Crypto.java

                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get an MD5 message digest instance.
         * @return MD5 digest instance
         */
        public static MessageDigest getMD5() {
            try {
                return MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException e) {
                throw new CIFSUnsupportedCryptoException(e);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Joiner.java

      public static Joiner on(String separator) {
        return new Joiner(separator);
      }
    
      /** Returns a joiner which automatically places {@code separator} between consecutive elements. */
      public static Joiner on(char separator) {
        return new Joiner(String.valueOf(separator));
      }
    
      private final String separator;
    
      private Joiner(String separator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  3. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private final Queue<AuditEntry> auditEntryPool = new ConcurrentLinkedQueue<>();
        private final Queue<StringBuilder> stringBuilderPool = new ConcurrentLinkedQueue<>();
        private final Queue<HashMap<String, Object>> mapPool = new ConcurrentLinkedQueue<>();
    
        // Asynchronous logging
        private final BlockingQueue<AuditEntry> logQueue = new LinkedBlockingQueue<>(10000); // Bounded queue
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/IoTestCase.java

        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
        }
        return array;
      }
    
      private static void copy(URL url, File file) throws IOException {
        InputStream in = url.openStream();
        try {
          OutputStream out = new FileOutputStream(file);
          try {
            byte[] buf = new byte[4096];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

        public ModelResolver newCopy() {
            return new DefaultModelResolver(this);
        }
    
        @Override
        public ModelSource resolveModel(String groupId, String artifactId, String version)
                throws UnresolvableModelException {
            Artifact pomArtifact = new DefaultArtifact(groupId, artifactId, "", "pom", version);
    
            try {
                ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) {
            if (argValue < 0) {
                throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName));
            }
            if (argValue >= arraySize) {
                throw new ClIllegalArgumentException(argName, "ECL0015", asArray(argName, arraySize));
            }
        }
    
        /**
         * Asserts that the argument is valid.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

                f.setAccessible(true);
                f.set(c, val);
            } catch (Exception e) {
                throw new AssertionError(e);
            }
        }
    
        // Helper to build a minimal smb URL
        private static URL smbUrl(String spec) throws Exception {
            return new URL(null, spec, new Handler());
        }
    
        @Test
        @DisplayName("getConfig returns context config")
        void getConfig_returnsConfig() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

     */
    class ImmutableCollections {
    
        private static final Map<?, ?> EMPTY_MAP = new AbstractImmutableMap<>() {
            @Override
            public Set<Entry<Object, Object>> entrySet() {
                return new AbstractImmutableSet<>() {
                    @Override
                    public Iterator<Entry<Object, Object>> iterator() {
                        return new Iterator<>() {
                            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

        @Override
        public Set<K> keySet() {
          return new StandardKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          return new StandardEntrySet() {
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

              BigInteger expected =
                  new BigDecimal(p).divide(new BigDecimal(q), 0, mode).toBigIntegerExact();
              assertEquals(expected, BigIntegerMath.divide(p, q, mode));
            }
          }
        }
      }
    
      private static final BigInteger BAD_FOR_ANDROID_P = new BigInteger("-9223372036854775808");
      private static final BigInteger BAD_FOR_ANDROID_Q = new BigInteger("-1");
    
      @GwtIncompatible // TODO
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
Back to Top