Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 162 for checking (0.18 sec)

  1. src/test/java/jcifs/util/EncdecTest.java

            // Then
            String decoded = new String(buffer);
            assertEquals(testString, decoded);
        }
    
        @Test
        @DisplayName("Should handle buffer bounds checking")
        void testBufferBounds() {
            // Given
            byte[] smallBuffer = new byte[2];
    
            // When/Then
            assertThrows(IndexOutOfBoundsException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. docs/en/docs/benchmarks.md

    But when checking benchmarks and comparisons you should keep the following in mind.
    
    ## Benchmarks and speed { #benchmarks-and-speed }
    
    When you check the benchmarks, it is common to see several tools of different types compared as equivalent.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

            }
            sb.append(comp);
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated
       * so far being empty. As a result, it does not have the above-mentioned bug.
       */
      @Benchmark
      int booleanIfFirst(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

                // Additional checks could include:
                // - Verifying RDMA devices are available
                // - Testing basic RDMA operations
                // - Checking for required native libraries
    
                return true;
            } catch (ClassNotFoundException e) {
                log.debug("DiSNI not available: {}", e.getMessage());
                return false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/EndpointPair.java

            // and the transitive property of equality, this implies that nodeU equals nodeV.
            // If nodeU equals nodeV, condition1 == condition2, so checking condition1 is sufficient.
            return nodeV().equals(other.nodeV());
          }
          return nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU()); // check condition2
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenInit.java

        public static final int MUTUAL_AUTHENTICATION = 0x40;
        /**
         * Context flag for replay detection capability
         */
        public static final int REPLAY_DETECTION = 0x20;
        /**
         * Context flag for sequence checking capability
         */
        public static final int SEQUENCE_CHECKING = 0x10;
        /**
         * Context flag for anonymity capability
         */
        public static final int ANONYMITY = 0x08;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            final Smb2SigningDigest dgst = getDigest();
            if (dgst != null && !isAsync() && (getConfig().isRequireSecureNegotiate() || getErrorCode() == NtStatus.NT_STATUS_SUCCESS)) {
                // MID checking not required here as we only read responses for which we're waiting
                // We only read what we were waiting for, so first guess would be no.
                final boolean verify = dgst.verify(buffer, i, size, 0, this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

              // Since this is an artificially generated type variable, we don't bother checking
              // subtyping between declared type bound and actual type bound. So it's possible that we
              // may generate something like <capture#1-of ? extends Foo&SubFoo>.
              // Checking subtype between declared and actual type bounds
              // adds recursive isSubtypeOf() call and feels complicated.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * {@snippet :
     * class MySubtypeTests extends SubtypeTester {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top