Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 4,221 for Avoid (0.02 sec)

  1. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        TEST_BIG_INTEGERS = testBigIntegersBuilder.build();
      }
    
      public void testAsUnsignedAndLongValueAreInverses() {
        for (long value : TEST_LONGS) {
          assertWithMessage(UnsignedLongs.toString(value))
              .that(UnsignedLong.fromLongBits(value).longValue())
              .isEqualTo(value);
        }
      }
    
      public void testAsUnsignedBigIntegerValue() {
        for (long value : TEST_LONGS) {
          BigInteger expected =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

    public class ContentOutputStreamTest {
    
        @Test
        public void inMemory() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                return false;
            }
        }
    
        @Test
        public void testUnicodeConfiguration() throws Exception {
            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
        public void testAsciiConfiguration() throws Exception {
            Configuration asciiCfg = new OffUnicodeConfig();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            void nullBuffer_throwsNPE() {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
    
                // Act & Assert
                assertThrows(NullPointerException.class, () -> resp.readBytesWireFormat(null, 0));
            }
    
            @Test
            @DisplayName("Insufficient buffer causes ArrayIndexOutOfBoundsException")
            void shortBuffer_throwsAIOOBE() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

            this.scope = scope;
            this.project = project;
        }
    
        @Override
        public void addInclude(String include) {
            // Update the underlying Resource model
            super.addInclude(include);
    
            // Update the project's SourceRoots
            updateProjectSourceRoot();
        }
    
        @Override
        public void removeInclude(String include) {
            // Update the underlying Resource model
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new ArrayMap<String, String>();
            map.put(null, null);
            map.put("1", "test");
            map.put("2", "test2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsSqlClause.java

            super(tableDbName);
        }
    
        @Override
        public void lockForUpdate() {
        }
    
        @Override
        public DBWay dbway() {
            return null;
        }
    
        @Override
        protected void doFetchFirst() {
        }
    
        @Override
        protected void doFetchPage() {
        }
    
        @Override
        protected void doClearFetchPageClause() {
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsSqlClause.java

            super(tableDbName);
        }
    
        @Override
        public void lockForUpdate() {
        }
    
        @Override
        public DBWay dbway() {
            return null;
        }
    
        @Override
        protected void doFetchFirst() {
        }
    
        @Override
        protected void doFetchPage() {
        }
    
        @Override
        protected void doClearFetchPageClause() {
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

        @Mock
        private Configuration mockConfig;
    
        private Smb2LockResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2LockResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
            // Given & When
            Smb2LockResponse lockResponse = new Smb2LockResponse(mockConfig);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                return bytesRead;
            }
    
            public void setParamWordsRead(int value) {
                this.paramWordsRead = value;
            }
    
            public void setBytesRead(int value) {
                this.bytesRead = value;
            }
    
            public int getWordCount() {
                return wordCount;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top