Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2731 - 2740 of 2,912 for fromP2 (0.06 sec)

  1. src/test/java/jcifs/smb/Kerb5ContextTest.java

        @Test
        @DisplayName("supportsIntegrity always true")
        void supportsIntegrity_alwaysTrue() {
            assertTrue(ctx.supportsIntegrity());
        }
    
        @Test
        @DisplayName("calculateMIC returns value from GSS and verifies interaction")
        void calculateMIC_success() throws Exception {
            byte[] data = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 8 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm64.go

    		offset |= 0x6 << 12
    	case 4:
    		offset |= 0x2 << 12
    	default:
    		return 0, errors.New("invalid register numbers in ARM64 register list")
    	}
    	offset |= arrangement
    	// arm64 uses the 60th bit to differentiate from other archs
    	// For more details, refer to: obj/arm64/list7.go
    	offset |= 1 << 60
    	return offset, nil
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    			},
    		},
    	},
    	// Issue 66869: Don't skip over an EOCDR with a truncated comment.
    	// The test file sneakily hides a second EOCDR before the first one;
    	// previously we would extract one file ("file") from this archive,
    	// while most other tools would reject the file or extract a different one ("FILE").
    	{
    		Name:  "comment-truncated.zip",
    		Error: ErrFormat,
    	},
    }
    
    func TestReader(t *testing.T) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.util.regex.Pattern;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Generates fresh instances of types that are different from each other (if possible).
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    @SuppressWarnings("nullness")
    class FreshValueGenerator {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

        list.set(0, 4.0);
        assertThat(newArray).isEqualTo(new double[] {0.0, 1.0, 2.0});
        newArray[1] = 5.0;
        assertThat((double) list.get(1)).isEqualTo(1.0);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        double[] array = {0.0, 1.0, 2.0, 3.0};
        List<Double> list = Doubles.asList(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // When
                Type2Message message = new Type2Message(mockContext, type1);
    
                // Then
                assertNotNull(message);
                // Verify flags are derived from Type1Message and context
                int expectedFlags =
                        Type2Message.NTLMSSP_NEGOTIATE_NTLM | Type2Message.NTLMSSP_NEGOTIATE_VERSION | Type2Message.NTLMSSP_NEGOTIATE_UNICODE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super Integer, Y> g = SerializableTester.reserializeAndAssert(f);
        for (int i = 1; i < 5; i++) {
          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

    import jcifs.dcerpc.UnicodeString;
    import jcifs.dcerpc.msrpc.LsaPolicyHandle;
    import jcifs.dcerpc.msrpc.lsarpc;
    
    @ExtendWith(MockitoExtension.class)
    class SIDCacheImplTest {
    
        // Helper to create a SID from text without throwing in the test body
        private static SID sid(String textual) {
            try {
                return new SID(textual);
            } catch (SmbException e) {
                throw new RuntimeException(e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
        }
    
        @Nested
        @DisplayName("ReadBytesWireFormat Tests")
        class ReadBytesWireFormatTests {
    
            @Test
            @DisplayName("Should read valid oplock break notification from buffer")
            void testReadValidOplockBreakNotification() throws Exception {
                // Create a valid buffer with structure size 24
                byte[] buffer = new byte[64];
                int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            setupCountField.setAccessible(true);
            assertEquals(128, setupCountField.get(response));
        }
    
        @Test
        @DisplayName("Test reading from different buffer positions")
        void testReadFromDifferentPositions() throws Exception {
            byte[] buffer = new byte[200];
    
            // Test at various positions in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top