Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 461 for utimes (0.04 sec)

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

            raf.writeFloat(1.0f);
            raf.writeDouble(1.0);
    
            // Verify length counts - using times() to check exact counts
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(2)); // short and char
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(4)); // int and float
            verify(raf, times(2)).write(any(byte[].class), anyInt(), eq(8)); // long and double
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. LICENSES/vendor/github.com/NYTimes/gziphandler/LICENSE

          file or class name and description of purpose be included on the
          same "printed page" as the copyright notice for easier
          identification within third-party archives.
    
       Copyright 2016-2017 The New York Times Company
    
       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Feb 03 21:57:36 UTC 2021
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Test for close() method called multiple times.
         * Verifies that close can be called multiple times safely.
         */
        @Test
        void testClose_multipleTimes() {
            doNothing().when(smbTree).close();
    
            smbTree.close();
            smbTree.close();
            smbTree.close();
    
            verify(smbTree, times(3)).close();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            verify(mockDeferredNdrBuffer, times(9)).enc_ndr_long(anyInt()); // 3 enc_ndr_long for each of 3 unicode strings
            verify(mockDeferredNdrBuffer, times(3)).enc_ndr_long(0);
            verify(mockDeferredNdrBuffer, times(3)).advance(anyInt());
            verify(mockDeferredNdrBuffer, times(4)).derive(anyInt()); // 3 for strings + 1 for guid
            verify(mockDeferredNdrBuffer, times(18)).enc_ndr_short(0); // 5+6+7 shorts with value 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

            // Test toggling ShowReport multiple times
            assertFalse(valve.isShowReport());
    
            valve.setShowReport(true);
            assertTrue(valve.isShowReport());
    
            valve.setShowReport(false);
            assertFalse(valve.isShowReport());
    
            valve.setShowReport(true);
            assertTrue(valve.isShowReport());
    
            // Test toggling ShowServerInfo multiple times
            assertFalse(valve.isShowServerInfo());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            h.close(777L);
    
            // Verify SMB2 close path
            verify(tree, times(1)).send(isA(Smb2CloseRequest.class), eq(RequestParam.NO_RETRY));
            // Tree is always released in finally
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("close(long) sends SMB1 close request and releases tree when SMB1")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Assertions.assertEquals(19L, s);
    
            Mockito.verify(mock, Mockito.times(1)).getAttributes();
            Mockito.verify(mock, Mockito.times(1)).getCreateTime();
            Mockito.verify(mock, Mockito.times(1)).getLastWriteTime();
            Mockito.verify(mock, Mockito.times(1)).getLastAccessTime();
            Mockito.verify(mock, Mockito.times(1)).getSize();
            Mockito.verifyNoMoreInteractions(mock);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

            assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value");
            verify(mockAllocInfo, times(1)).getCapacity();
            verify(mockAllocInfo, times(1)).getFree();
        }
    
        /**
         * Parameterised test of capacity values, including edge cases such as
         * zero and negative capacities.
         */
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            // Act
            pipe.customizeCreate(req, resp);
    
            // Assert: verify interactions with dependencies
            verify(req, times(1)).addFlags0(0x16);
            verify(resp, times(1)).setExtended(true);
            verify(resp, never()).setExtended(false);
        }
    
        @Test
        @DisplayName("openPipe returns a handle bound to this pipe")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
    
            // Both resources should be closed
            verify(filter, times(2)).accept(resource);
            verify(resource, times(2)).close();
        }
    
        @Test
        @DisplayName("Iterator with filter throwing exception")
        void iteratorWithFilterException() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top