Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 1,621 for integers (0.05 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        // No change yet.
        assertEquals(2, totalCalls.get());
        fakePool.runAll();
        assertEquals(5, totalCalls.get());
        assertFalse(fakePool.hasNext());
      }
    
      public void testOrdering() {
        List<Integer> callOrder = new ArrayList<>();
    
        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

         *
         * @param token the encrypted Kerberos token
         * @param keys map of encryption keys indexed by key type
         * @throws PACDecodingException if decoding fails
         */
        public KerberosEncData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token));
            ASN1TaggedObject derToken;
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/PreauthIntegrityService.java

         */
        public static String getHashAlgorithmName(int algorithm) {
            switch (algorithm) {
            case HASH_ALGO_SHA512:
                return "SHA-512";
            default:
                return "Unknown(0x" + Integer.toHexString(algorithm) + ")";
            }
        }
    
        /**
         * Clears all session contexts (for cleanup).
         */
        public void cleanup() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                return "LZ77+Huffman";
            case COMPRESSION_LZNT1:
                return "LZNT1";
            case COMPRESSION_PATTERN_V1:
                return "Pattern_V1";
            default:
                return "Unknown(0x" + Integer.toHexString(algorithm) + ")";
            }
        }
    
        /**
         * Compresses data using LZ77 algorithm (implemented using Java's Deflater).
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

         * @throws IOException on encoding error
         */
        private byte[] createTestTicketBytes(Number version, String realm, String principalName, int encType, byte[] encryptedData,
                Integer unknownTag) throws IOException {
            ASN1EncodableVector v = new ASN1EncodableVector();
            v.add(new DERTaggedObject(true, 0, new ASN1Integer(version.longValue())));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         * @return the document expiration date, or null if no expiration is set
         */
        public Date getDocumentExpires(final CrawlingConfig config) {
            if (config != null) {
                final Integer timeToLive = config.getTimeToLive();
                if (timeToLive != null) {
                    // timeToLive minutes
                    final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * then set the result of the computation, and only then transition to COMPLETED, CANCELLED, or
         * INTERRUPTED.
         *
         * <p>We don't use the integer argument passed between acquire methods so we pass around a -1
         * everywhere.
         */
        static final class Sync<V> extends AbstractQueuedSynchronizer {
    
          private static final long serialVersionUID = 0L;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. cmd/erasure-healing-common.go

    			onlineDisks[index] = disks[index]
    		} else {
    			onlineDisks[index] = nil
    		}
    	}
    
    	return onlineDisks, modTime, ""
    }
    
    // Convert verify or check parts returned error to integer representation
    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/UserService.java

         */
        protected void setupListCondition(final UserCB cb, final UserPager userPager) {
            if (userPager.id != null) {
                cb.query().docMeta().setId_Equal(userPager.id);
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
        /**
         * Retrieves a list of all available users in the system.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Use large but valid time values
            long largeTime = System.currentTimeMillis() + 365L * 24 * 60 * 60 * 1000; // 1 year from now
            int maxAttributes = Integer.MAX_VALUE;
    
            FileBasicInfo info = new FileBasicInfo(largeTime, largeTime, largeTime, largeTime, maxAttributes);
    
            // Encode and decode
            byte[] buffer = new byte[50];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top