Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,842 for new1 (0.02 sec)

  1. src/test/java/jcifs/SidResolverTest.java

            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
            doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
            final ClassLoaderIterator it = new ClassLoaderIterator(cl3);
            assertThat(it.hasNext(), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessNotification.java

        /**
         * Creates a new empty witness notification.
         */
        public WitnessNotification() {
            this.timestamp = System.currentTimeMillis();
            this.newIPAddresses = new ArrayList<>();
            this.oldIPAddresses = new ArrayList<>();
            this.flags = WITNESS_RESOURCE_STATE_UNKNOWN;
        }
    
        /**
         * Creates a new witness notification.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/UUIDTest.java

                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = 0;
                rpcUuid.time_mid = 0;
                rpcUuid.time_hi_and_version = 0;
                rpcUuid.clock_seq_hi_and_reserved = 0;
                rpcUuid.clock_seq_low = 0;
                rpcUuid.node = new byte[6];
    
                UUID uuid = new UUID(rpcUuid);
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            StringReader sReader = new StringReader(serializedModel);
    
            MavenStaxReader modelReader = new MavenStaxReader();
            try {
                model = new Model(modelReader.read(sReader));
            } catch (XMLStreamException e) {
                throw new ModelInterpolationException(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            byte[] buffer = new byte[100];
    
            int consumed = pipe.readParametersWireFormat(buffer, 0, 10);
            assertEquals(0, consumed, "readParametersWireFormat should return 0");
        }
    
        @Test
        public void testReadDataWireFormat() {
            // Test that readDataWireFormat returns 0
            TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

        @Test
        void decodeFromEncodedBuffer() throws NdrException {
            NdrShort ns = new NdrShort(123); // masked value 123 (already fits in 8 bits)
            buf.reset();
            ns.encode(buf);
    
            // Reset buffer to start for decoding
            buf.reset();
    
            // Prepare a new object to decode into
            NdrShort decoded = new NdrShort(0);
            decoded.decode(buf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

         */
        @Test
        public void testWriteParameterWordsWireFormat() {
            // Arrange
            SmbComWrite write = new SmbComWrite();
            write.setParam(0x1234, 0x5678L, 100, new byte[10], 0, 10);
            byte[] dst = new byte[20];
    
            // Act
            int bytesWritten = write.writeParameterWordsWireFormat(dst, 0);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            response = new Smb2QueryDirectoryResponse(mockConfig, expectInfoClass);
    
            assertNotNull(response);
            assertNull(response.getResults()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getResults returns null initially")
        void testGetResultsInitiallyNull() {
            response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testInterfaceHierarchy() {
                // Create instances
                SmbInfoAllocation smbInfo = new SmbInfoAllocation();
                FileFsSizeInformation sizeInfo = new FileFsSizeInformation();
                FileFsFullSizeInformation fullSizeInfo = new FileFsFullSizeInformation();
    
                // All should be FileSystemInformation
                assertTrue(smbInfo instanceof FileSystemInformation);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top