Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 476 for SPECIAL (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testMaximalWeakStripedLock() {
        Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE);
        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testMaximalWeakStripedLock() {
        Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE);
        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * In the case of Java tools, the map may also contain {@code --patch-module} options, which are
         * {@linkplain org.apache.maven.api.JavaPathType#patchModule(String) handled in a special way}.
         *
         * <h4>Design note</h4>
         * All types of path are determined together because they are sometime mutually exclusive.
         * For example, an artifact of type {@value org.apache.maven.api.Type#JAR} can be placed
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        }
    
        @Test
        @DisplayName("readPacketType with special stream returning -1 should return -1")
        void testReadPacketTypeSpecialStream() throws IOException {
            // Create a mock stream that returns exactly -1 on first read (special case)
            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

        }
    
        /**
         * Test name with special characters
         */
        public void test_name_specialCharacters() {
            // Test with spaces
            testTransformer.setName("name with spaces");
            assertEquals("name with spaces", testTransformer.getName());
    
            // Test with special characters
            testTransformer.setName("name-with_special.chars#123");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertEquals(240000, exception.getMessage().length());
        }
    
        /**
         * Test constructor with special characters in message
         */
        public void test_constructor_withSpecialCharactersInMessage() {
            String message = "Error: \n\t\r\0\b\f with special chars #@!$%^&*()[]{}";
            CrawlerSystemException exception = new CrawlerSystemException(message);
    
            assertNotNull(exception);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Assert
            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipe"));
            assertTrue(result.contains("pipeName=null"));
        }
    
        @Test
        @DisplayName("toString with special characters in pipe name")
        void testToStringWithSpecialCharacters() {
            // Arrange
            String specialPipeName = "\\PIPE\\test$pipe#123";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/NetbiosNameTest.java

                when(mockNetbiosName.getName()).thenReturn(testName);
                assertEquals(testName, mockNetbiosName.getName());
            }
        }
    
        @Test
        @DisplayName("Should handle special characters in names")
        void testSpecialCharacters() {
            String[] testNames = { "SERVER-1", "SERVER_A", "SRV123", "MY-SRV" };
    
            for (String testName : testNames) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            assertNotNull(queryBuilder3);
        }
    
        public void test_convertWildcardQuery_withSpecialCharacters() throws Exception {
            // Test with special wildcard characters
            QueryContext queryContext1 = new QueryContext("te?t*", false);
            WildcardQuery wildcardQuery1 = new WildcardQuery(new Term("title", "te?t*"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertEquals("Zterm", manualUnicodeStringZterm.toString(), "toString should work with manually set buffer and length (with zterm)");
    
            // Test toString with buffer containing non-printable characters or special unicode
            String unicodeChars = "你好世界"; // "Hello World" in Chinese
            UnicodeString unicodeStringChinese = new UnicodeString(unicodeChars, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top