Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 2,802 for inst (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

                    valid = false;
                }
            }
        }
    
        @Override
        protected int generateLocalKey() {
            // In real implementation, this would get the local key from DiSNI:
            // return memoryRegister.getLkey();
            return keyGenerator.getAndIncrement();
        }
    
        @Override
        protected int generateRemoteKey() {
            // In real implementation, this would get the remote key from DiSNI:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            void testGetDefaultFlags_CIFSContext_Unicode() {
                // Given
                CIFSContext mockContext = createMockContext();
    
                // When
                int flags = Type2Message.getDefaultFlags(mockContext);
    
                // Then
                int expectedFlags =
                        Type2Message.NTLMSSP_NEGOTIATE_NTLM | Type2Message.NTLMSSP_NEGOTIATE_VERSION | Type2Message.NTLMSSP_NEGOTIATE_UNICODE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

                        });
                        when(mock.read(any(byte[].class), any(int.class), any(int.class))).thenAnswer(inv -> {
                            byte[] buffer = inv.getArgument(0);
                            int offset = inv.getArgument(1);
                            int length = inv.getArgument(2);
                            int remaining = includeContent.length - index[0];
                            if (remaining <= 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            new SecureRandom().nextBytes(challenge);
    
            int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM;
    
            return new Type2Message(createMockContext(), flags, challenge, "TARGET");
        }
    
        /**
         * Helper method to create a test string of specified length
         */
        private String createTestString(int length) {
            StringBuilder sb = new StringBuilder(length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      int indexOf(@Nullable Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains check—at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
        // requireNonNull is safe because of the contains check.
        C c = (C) requireNonNull(target);
        return (int) domain.distance(first(), c);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/net/UuidUtil.java

         *
         * @return the UUID string
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
            public String getNotify() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/Request.java

         * Gets the number of credits this request requires.
         *
         * @return number of credits this request requires
         */
        int getCreditCost();
    
        /**
         * Sets the number of request credits.
         *
         * @param credits the number of credits to set
         */
        void setRequestCredits(int credits);
    
        /**
         * Checks if this is a cancel request.
         *
         * @return whether this is a cancel request
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        }
      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      private static void runTestFuzzyCompare(int toleranceIndex) {
        double tolerance = get(TOLERANCE_CANDIDATES, toleranceIndex);
        for (double a : ALL_DOUBLE_CANDIDATES) {
          for (double b : ALL_DOUBLE_CANDIDATES) {
            int expected = DoubleMath.fuzzyEquals(a, b, tolerance) ? 0 : Double.compare(a, b);
            int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
Back to top