Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,363 for Message (0.04 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
            // Create a properly formatted response message
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
    
            // Manually encode a response header
            buf.enc_ndr_small(5); // RPC version
            buf.enc_ndr_small(0); // minor version
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        private static void notBlank(String str, String message) {
            final int strLen = str != null ? str.length() : 0;
            if (strLen > 0) {
                for (int i = 0; i < strLen; i++) {
                    if (!Character.isWhitespace(str.charAt(i))) {
                        return;
                    }
                }
            }
            throw new IllegalArgumentException(message);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectPreconditions.java

          throw new IllegalArgumentException(name + " must be positive but was: " + value);
        }
      }
    
      /**
       * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent
       * error message.
       */
      static void checkRemove(boolean canRemove) {
        checkState(canRemove, "no calls to next() since the last call to remove()");
      }
    
      private CollectPreconditions() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Set Info response message. This response acknowledges the successful
     * modification of file or security information.
     *
     * @author mbechler
     *
     */
    public class Smb2SetInfoResponse extends ServerMessageBlock2Response {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java

                return version1.compareTo(version2) > 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
                // TODO log message or throw exception?
    
                return null;
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        // https://android-review.googlesource.com/#/c/271775/
        try {
          this.socket = rawSocket.asBufferedSocket()
        } catch (npe: NullPointerException) {
          if (npe.message == NPE_THROW_WITH_NULL) {
            throw IOException(npe)
          }
        }
      }
    
      /**
       * Does all the work to build an HTTPS connection over a proxy tunnel. The catch here is that a
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. cmd/batch-rotate_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BatchJobKeyRotateEncryption) Msgsize() (s int) {
    	s = 1 + 5 + msgp.StringPrefixSize + len(string(z.Type)) + 4 + msgp.StringPrefixSize + len(z.Key) + 8 + msgp.StringPrefixSize + len(z.Context)
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

        @MethodSource("errorCodes")
        void constructorInitialisesMessageAndStatus(int code, String expectedMsg) {
            SmbAuthException e = new SmbAuthException(code);
            assertEquals(expectedMsg, e.getMessage(), "message for code " + Integer.toHexString(code));
            assertEquals(SmbException.getStatusByCode(code), e.getNtStatus(), "status for code " + Integer.toHexString(code));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/BUG.yml

      
            **Do you use the latest project version?**
    
      - type: input
        id: version
        attributes:
          label: Affected version
        validations:
          required: true
    
      - type: textarea
        id: message
        attributes:
          label: Bug description
        validations:
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          Platform.get().log("Incorrect protocol: ${response.protocol}", Platform.WARN)
        }
    
        response.use {
          if (!response.isSuccessful) {
            throw IOException("response: " + response.code + " " + response.message)
          }
    
          val body = response.body
    
          if (body.contentLength() > MAX_RESPONSE_SIZE) {
            throw IOException(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top