Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3591 - 3600 of 4,250 for inst (0.06 seconds)

  1. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
              public int compare(String o1, String o2) {
                return o2.compareTo(o1);
              }
            };
        TreeMultiset<String> ms = TreeMultiset.create(comparator);
    
        ms.add("b");
        ms.add("c");
        ms.add("a");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public String getProperty(final String key) {
            return getProperties().getProperty(key);
        }
    
        @Override
        public int hashCode() {
            return getProperties().hashCode();
        }
    
        @Override
        public boolean isEmpty() {
            return getProperties().isEmpty();
        }
    
        @Override
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            });
        }
    
        @Test
        public void testPathTooLong() throws Exception {
            StringBuilder longPath = new StringBuilder("\\share");
            for (int i = 0; i < 100; i++) {
                longPath.append("\\verylongfoldername");
            }
            assertThrows(SmbException.class, () -> {
                validator.validatePath(longPath.toString());
            });
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            // role does not vary for Mojos.
            List<MojoDescriptor> mojos = getMojos();
    
            if (mojos != null && mojos.contains(mojoDescriptor)) {
                int indexOf = mojos.indexOf(mojoDescriptor);
    
                existing = mojos.get(indexOf);
            }
    
            if (existing != null) {
                throw new DuplicateMojoDescriptorException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  5. cmd/admin-handlers-pools.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	v := vars["pool"]
    	byID := vars["by-id"] == "true"
    
    	pools := strings.Split(v, ",")
    	poolIndices := make([]int, 0, len(pools))
    
    	for _, pool := range pools {
    		var idx int
    		if byID {
    			var err error
    			idx, err = strconv.Atoi(pool)
    			if err != nil {
    				// We didn't find any matching pools, invalid input
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java

                Set<String> currentClasses = null;
                boolean filterErrorsFound = false;
                for (String fqcn : getParameters().getIgnoreClasses().get().stream().sorted().collect(Collectors.toList())) {
                    int lastDot = fqcn.lastIndexOf('.');
                    if (lastDot == -1) {
                        LOGGER.error("Missing package in classname in split package ignores: " + fqcn);
                        filterErrorsFound = true;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

        @Test
        public void testExpectedIndexCountConstant() throws Exception {
            final Field field = Suggester.class.getDeclaredField("EXPECTED_INDEX_COUNT");
            field.setAccessible(true);
            final int value = (int) field.get(null);
    
            assertEquals("EXPECTED_INDEX_COUNT should be 1", 1, value);
        }
    
        /**
         * Integration test for complete index lifecycle with refactored methods.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withLongMessage() {
            // Test with a long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("LDAP configuration error ").append(i).append(" ");
            }
            String longMessage = sb.toString();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

        }
    
        @Test
        public void test_longMessage() {
            // Test with a very long message
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                sb.append("Long message part ").append(i).append(" ");
            }
            String longMessage = sb.toString();
    
            PluginException exception = new PluginException(longMessage);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            sendRequestException.addSuppressed(e)
            throw sendRequestException
          }
          throw e
        }
      }
    
      private fun shouldIgnoreAndWaitForRealResponse(code: Int): Boolean =
        when {
          // Server sent a 100-continue even though we did not request one. Try again to read the
          // actual response status.
          code == 100 -> true
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top