Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 198 for checkMd5 (0.03 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { 0x02 })));
            // Tag 3 should be passed as ASN1TaggedObject which will be checked for APPLICATION tag class
            // Create a context-specific tagged object (wrong tag class)
            v.add(new DERTaggedObject(true, 3, new DERTaggedObject(true, 0, new DERSequence(new ASN1EncodableVector()))));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. cmd/erasure-coding.go

    	e.encoder = func() reedsolomon.Encoder {
    		once.Do(func() {
    			e, err := reedsolomon.New(dataBlocks, parityBlocks, reedsolomon.WithAutoGoroutines(int(e.ShardSize())))
    			if err != nil {
    				// Error conditions should be checked above.
    				panic(err)
    			}
    			enc = e
    		})
    		return enc
    	}
    	return e, err
    }
    
    // EncodeData encodes the given data and returns the erasure-coded data.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

          checkElementsNotNull(elements, n);
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Streams.java

          } catch (Exception e) { // sneaky checked exception
            if (exception == null) {
              exception = e;
            } else {
              exception.addSuppressed(e);
            }
          }
        }
        if (exception != null) {
          // Normally this is a RuntimeException that doesn't need sneakyThrow.
          // But theoretically we could see sneaky checked exception
          sneakyThrow(exception);
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 36.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Class<? extends Exception> exceptionClass) {
        try {
          Exception unused = newWithCause(exceptionClass, new Exception());
          return true;
        } catch (Throwable t) { // sneaky checked exception
          return false;
        }
      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTransportInternal interface using Mockito mocks to
     * exercise method contracts, checked exceptions, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbTransportInternalTest {
    
        @Mock
        private SmbTransportInternal transport;
    
        @Mock
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            final ServerMessageBlock msg = (ServerMessageBlock) m;
    
            if ((msg.getFlags2() & SmbConstants.FLAGS2_SECURITY_SIGNATURES) == 0) {
                // signature requirements need to be checked somewhere else
                log.warn("Expected signed response, but is not signed");
                return false;
            }
    
            update(this.macSigningKey, 0, this.macSigningKey.length);
            int index = offset;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

          value > Int.MAX_VALUE -> Int.MAX_VALUE
          value < 0 -> 0
          else -> value.toInt()
        }
      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            HTTP_TEMP_REDIRECT,
            -> {
              // These codes can only be cached with the right response headers.
              // http://tools.ietf.org/html/rfc7234#section-3
              // s-maxage is not checked because OkHttp is a private cache that should ignore s-maxage.
              if (response.header("Expires") == null &&
                response.cacheControl.maxAgeSeconds == -1 &&
                !response.cacheControl.isPublic &&
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          }
    
          @Override
          public void run() {
            try {
              delegate.run();
            } catch (Throwable t) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
    
              /*
               * We fail this `ListenableFuture`, whose result is exposed to the user through the
               * `ListenableScheduledTask` we return from the `schedule*` methods.
               */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
Back to Top