Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 324 for Correct (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                if ((n != byteCount) && (LogStream.level >= 5)) {
                    log.println("byteCount=" + byteCount + " but readBytesWireFormat returned " + n);
                }
                // Don't think we can rely on n being correct here. Must use byteCount.
                // Last paragraph of section 3.13.3 eludes to this.
    
                bufferIndex += byteCount;
            }
    
            length = bufferIndex - start;
            return length;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            // Create a new digest for verification with same key
            SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey);
    
            // Verify should return false when signature is correct (no error)
            // The code returns true on line 281 when signatures DON'T match
            boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
       *       #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length
       *       can't change, and it is faster because many writers and appendables are optimized for
       *       appending string instances.
       * </ul>
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
       *       #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length
       *       can't change, and it is faster because many writers and appendables are optimized for
       *       appending string instances.
       * </ul>
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            // Should write FileInformation data + 6 bytes padding
            assertEquals(36, written); // 30 + 6
    
            // Verify encode was called with correct offset
            verify(mockFileInfo).encode(buffer, offset);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected abstract I newTargetIterator();
    
      /**
       * Override this to verify anything after running a list of Stimuli.
       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       * ```
       *
       * But this chain is wrong because the attackerSwitch certificate is being used in a CA role even
       * though it is not a CA certificate. There are pinned certificates in the chain! The correct
       * chain is much shorter because it skips the non-CA certificate.
       *
       * ```
       *   attackerCa
       *     -> attackerIntermediate
       *         -> phonyVictim
       * ```
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (2)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

        return file(new File(first), more);
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(File first, String... more) {
        // not very efficient, but should definitely be correct
        File file = first;
        for (String name : more) {
          file = new File(file, name);
        }
        return file;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
        }
    
        @Nested
        @DisplayName("ToString Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("Should generate correct string representation")
            void testToString() {
                when(mockReferral.getTtl()).thenReturn(600);
                when(mockReferral.getRFlags()).thenReturn(4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ServiceManager.java

          checkArgument(service.state() == NEW, "Can only manage NEW services, %s", service);
        }
        // We have installed all of our listeners and after this point any state transition should be
        // correct.
        this.state.markReady();
      }
    
      /**
       * Registers a {@link Listener} to be {@linkplain Executor#execute executed} on the given
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top