Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 367 for presentation (0.65 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // When/Then
            assertThrows(Exception.class, () -> {
                transformHeader.encode(shortBuffer, 0);
            });
        }
    
        @Test
        @DisplayName("Should create string representation")
        void testToString() {
            // Given
            transformHeader.setSessionId(testSessionId);
            transformHeader.setOriginalMessageSize(1024);
            transformHeader.setFlags(0x0001);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Range.java

       * equal to one another, despite the fact that they each contain precisely the same set of values.
       * Similarly, empty ranges are not equal unless they have exactly the same representation, so
       * {@code [3..3)}, {@code (3..3]}, {@code (4..4]} are all unequal.
       */
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Range) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            // Calling finalize directly to execute the logic; should not throw
            h.finalize();
        }
    
        @Test
        @DisplayName("toString() contains UNC and id representation")
        void toString_containsExpected() {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(1L, true, true);
    
            byte[] fidBytes = new byte[] { 0x01, 0x02 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

                AssertionFailedError.class,
                () ->
                    new EqualsTester().addEqualityGroup(new EqualsBasedOnToString("foo")).testEquals());
        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    // expectText is like Error but adds "got XXX" where XXX is a quoted representation of the most recent token.
    func (in *Input) expectText(args ...any) {
    	in.Error(append(args, "; got", strconv.Quote(in.Stack.Text()))...)
    }
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Nov 12 03:59:40 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

                }
            }
        }
    
        /**
         * Initializes the minimum and maximum protocol versions from string values.
         *
         * @param minStr string representation of minimum protocol version
         * @param maxStr string representation of maximum protocol version
         */
        protected void initProtocolVersions(final String minStr, final String maxStr) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

     */
    
    package jcifs.dcerpc.ndr;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import jcifs.util.Encdec;
    import jcifs.util.Strings;
    
    /**
     * NDR (Network Data Representation) buffer for encoding and decoding DCE/RPC messages.
     * This class provides methods for reading and writing primitive types and strings
     * in NDR format for DCE/RPC communication.
     */
    public class NdrBuffer {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

                AssertionFailedError.class,
                () ->
                    new EqualsTester().addEqualityGroup(new EqualsBasedOnToString("foo")).testEquals());
        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>After calling this method, you can keep adding more properties to later call toString()
         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
        }
    
        @Nested
        @DisplayName("ToString Tests")
        class ToStringTests {
    
            @Test
            @DisplayName("Should generate correct string representation")
            void testToString() throws Exception {
                // Set up notification with known values
                byte oplockLevel = 0x02;
                byte[] fileId = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top