Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 818 for init (0.17 sec)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      }
    
      private static void checkHmac(String expected, HashFunction hashFunc, byte[] data) {
        assertEquals(HashCode.fromString(expected), hashFunc.hashBytes(data));
      }
    
      private static byte[] fillByteArray(int size, int toFillWith) {
        byte[] array = new byte[size];
        Arrays.fill(array, (byte) toFillWith);
        return array;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        ArtifactScopeEnum scope;
    
        // ------------------------------------------------------------------------
        /**
         * init graph
         */
        public MetadataGraph(int nVertices) {
            init(nVertices, 2 * nVertices);
        }
    
        public MetadataGraph(int nVertices, int nEdges) {
            init(nVertices, nEdges);
        }
        // ------------------------------------------------------------------------
        /**
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Oct 05 18:41:13 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      }
    
      private static void checkHmac(String expected, HashFunction hashFunc, byte[] data) {
        assertEquals(HashCode.fromString(expected), hashFunc.hashBytes(data));
      }
    
      private static byte[] fillByteArray(int size, int toFillWith) {
        byte[] array = new byte[size];
        Arrays.fill(array, (byte) toFillWith);
        return array;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

    import org.codelibs.fess.helper.PathMappingHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.MemoryUtil;
    import org.codelibs.nekohtml.parsers.DOMParser;
    import org.lastaflute.di.core.exception.ComponentNotFoundException;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            SecretKeySpec dataKey = new SecretKeySpec(dataHmac, KerberosConstants.RC4_ALGORITHM);
    
            cipher = Cipher.getInstance(KerberosConstants.RC4_ALGORITHM);
            cipher.init(Cipher.DECRYPT_MODE, dataKey);
    
            int plainDataLength = data.length - KerberosConstants.CHECKSUM_SIZE;
            byte[] plainData = cipher.doFinal(data, KerberosConstants.CHECKSUM_SIZE, plainDataLength);
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
    
        @Override
        public int read ( byte[] b ) throws IOException {
            return read(b, 0, b.length);
        }
    
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read ( byte[] b, int off, int len ) throws IOException {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

          } else if (busy == 0 && cells == as && casBusy()) {
            boolean init = false;
            try { // Initialize table
              if (cells == as) {
                Cell[] rs = new Cell[2];
                rs[h & 1] = new Cell(x);
                cells = rs;
                init = true;
              }
            } finally {
              busy = 0;
            }
            if (init) break;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

                throws CIFSException {
            this.file = file;
            this.handle = handle;
            this.openFlags = openFlags;
            this.access = access;
            this.sharing = sharing;
            this.append = false;
            this.smb2 = th.isSMB2();
            init(th);
        }
    
    
        /**
         * @param th
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

          return delegate.add(object);
        }
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
    
        int newEntryIndex = this.size; // current size, and pointer to the entry to be appended
        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashBiMap.java

      private transient int size;
      private transient int mask;
      private transient int modCount;
    
      private HashBiMap(int expectedSize) {
        init(expectedSize);
      }
    
      private void init(int expectedSize) {
        checkNonnegative(expectedSize, "expectedSize");
        int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
Back to top