Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 2,976 for throw (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

         * Create a handle GUID from existing bytes
         * @param bytes the 16-byte GUID data in little-endian format (SMB wire format)
         */
        public HandleGuid(byte[] bytes) {
            if (bytes.length != 16) {
                throw new IllegalArgumentException("GUID must be 16 bytes");
            }
    
            // MS-SMB2 specifies little-endian byte ordering for GUID components
            // Convert from little-endian wire format to Java UUID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            // StructureSize (2 bytes) - must be 44
            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.structureSize != 44) {
                throw new SMBProtocolDecodingException("Invalid lease break structure size: " + this.structureSize);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java

            this.valid = true;
        }
    
        /**
         * Get the underlying buffer
         *
         * @return memory buffer
         * @throws IllegalStateException if memory region has been invalidated
         */
        public ByteBuffer getBuffer() {
            if (!valid) {
                throw new IllegalStateException("Memory region invalidated");
            }
            return buffer;
        }
    
        /**
         * Get local memory key
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmUtil.java

         * @param clientChallenge the client challenge bytes
         * @return the calculated response
         * @throws GeneralSecurityException if a cryptographic error occurs
         */
        public static byte[] getNTLM2Response(final byte[] passwordHash, final byte[] serverChallenge, final byte[] clientChallenge)
                throws GeneralSecurityException {
            final byte[] sessionHash = new byte[8];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                                + " (" + repository.getUrl() + ")");
            }
    
            if (file == null) {
                // TODO throw something instead?
                return true;
            }
    
            Date lastCheckDate;
    
            if (file.exists()) {
                lastCheckDate = new Date(file.lastModified());
            } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
            SuggestUtil.deleteScrollContext(client, null);
    
            // Test with non-null scrollId
            String scrollId = "test_scroll_id";
            SuggestUtil.deleteScrollContext(client, scrollId);
            // No exception should be thrown
        }
    
        @Test
        public void testEscapeWildcardQuery() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/BloomFilter.java

        return (long) (-n * Math.log(p) / SQUARED_LOG_TWO);
      }
    
        private Object writeReplace() {
        return new SerialForm<T>(this);
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      private static final class SerialForm<T extends @Nullable Object> implements Serializable {
        final long[] data;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         *  @return A XPathNodes, should never be null.
         *
         * @throws XPathExpressionException if an XPath expression error occurs.
         */
        public XPathNodes selectNodeList(final Node contextNode, final String expression) throws XPathExpressionException {
            return xPath.evaluateExpression(expression, contextNode, XPathNodes.class);
        }
    
        /**
         *  Evaluate XPath string to an XObject.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        }
    
        public void test_execute_scriptEngineThrowsException() {
            // Setup engine that throws exception
            scriptEngineFactory.add("errorEngine", new ScriptEngine() {
                @Override
                public Object evaluate(String template, Map<String, Object> paramMap) {
                    throw new RuntimeException("Script evaluation failed");
                }
            });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

        }
        return trustManagers[0] as X509TrustManager
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager =
        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with BouncyCastle",
        )
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top