Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3221 - 3230 of 6,076 for new1 (0.21 seconds)

  1. android/guava/src/com/google/common/collect/DiscreteDomain.java

        return IntegerDomain.INSTANCE;
      }
    
      private static final class IntegerDomain extends DiscreteDomain<Integer> implements Serializable {
        private static final IntegerDomain INSTANCE = new IntegerDomain();
    
        IntegerDomain() {
          super(true);
        }
    
        @Override
        public @Nullable Integer next(Integer value) {
          int i = value;
          return (i == Integer.MAX_VALUE) ? null : i + 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

        @Test
        @DisplayName("Fake implementation returns provided values (happy path)")
        void fakeImplementation_happyPath() {
            // Arrange
            FileEntry e = new TestFileEntry("doc.pdf", 2, 0x10, 10L, 20L, 30L, 4096L, 3);
    
            // Act & Assert: getters return exactly what was provided
            assertAll(() -> assertEquals("doc.pdf", e.getName()), () -> assertEquals(2, e.getType()),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  3. internal/event/target/mqtt.go

    		return err
    	}
    	switch u.Scheme {
    	case "ws", "wss", "tcp", "ssl", "tls", "tcps":
    	default:
    		return errors.New("unknown protocol in broker address")
    	}
    	if m.QueueDir != "" {
    		if !filepath.IsAbs(m.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    		if m.QoS == 0 {
    			return errors.New("qos should be set to 1 or 2 if queueDir is set")
    		}
    	}
    
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

                final List<String> tagList = new ArrayList<>();
                final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
                if (StringUtil.isNotBlank(key)) {
                    tagList.add(key);
                }
                runtime.registerData("popularWords", popularWordHelper.getWordList(SearchRequestType.SEARCH, null,
                        tagList.toArray(new String[tagList.size()]), null, null, null));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 18 04:42:56 GMT 2026
    - 14K bytes
    - Click Count (0)
  5. src/test/java/jcifs/context/BaseContextTest.java

            // Given
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final boolean[] results = new boolean[threadCount];
    
            // When
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
                        // Multiple threads accessing context simultaneously
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

         * @throws UnsupportedOperationException always thrown as this method is not supported
         */
        @Override
        public boolean checkUserLoginable(final LoginCredential credential) {
            throw new UnsupportedOperationException("checkUserLoginable is not supported.");
        }
    
        /**
         * Checks the credential using the provided credential checker.
         * This method is not supported in the Fess implementation.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                task.getReports().getXml().getOutputLocation().set(new File(checkstyle.getReportsDir(), "checkstyle-api.xml"));
            });
        }
    
        private static class DeduplicatePackageInfoFiles implements Spec<File> {
    
            private final Pattern pattern = Pattern.compile("package\\s*([^;\\s]+)\\s*;");
    
            private final Set<String> packagesSeenBefore = new HashSet<>();
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        }
    
        return valuesCollectionFeatures;
      }
    
      public static Set<Feature<?>> computeCommonDerivedCollectionFeatures(
          Set<Feature<?>> mapFeatures) {
        mapFeatures = new HashSet<>(mapFeatures);
        Set<Feature<?>> derivedFeatures = new HashSet<>();
        mapFeatures.remove(CollectionFeature.SERIALIZABLE);
        if (mapFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        @Mock
        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. internal/config/dns/etcd_dns.go

    )
    
    // ErrNoEntriesFound - Indicates no entries were found for the given key (directory)
    var ErrNoEntriesFound = errors.New("No entries found for this key")
    
    // ErrDomainMissing - Indicates domain is missing
    var ErrDomainMissing = errors.New("domain is missing")
    
    const etcdPathSeparator = "/"
    
    // create a new coredns service record for the bucket.
    func newCoreDNSMsg(ip string, port string, ttl uint32, t time.Time) ([]byte, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top