Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 4,648 for new1 (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

        /**
         * Test the readParameterWordsWireFormat method.
         */
        @Test
        void testReadParameterWordsWireFormat() {
            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
            byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            // The count should be read from the buffer.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return new GoodEquals(a, b);
        }
    
        // instance method ignored
        public Object badIgnored() {
          return new BadEquals();
        }
    
        // primitive ignored
        public int returnsInt() {
          throw new UnsupportedOperationException();
        }
    
        // void ignored
        public void voidMethod() {
          throw new UnsupportedOperationException();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        ByteSource source = newByteSource(0, 50);
        int[] counter = new int[1];
        ByteSource checker =
            new ByteSource() {
              @Override
              public InputStream openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterInputStream(source.openStream()) {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            assertFalse(loopback.isUsableForChannel());
        }
    
        @Test
        void testGetScore() {
            NetworkInterfaceInfo basic = new NetworkInterfaceInfo(testAddress, 1000);
            assertEquals(1000, basic.getScore()); // Base score is link speed
    
            NetworkInterfaceInfo fast = new NetworkInterfaceInfo(testAddress, 10000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                        Smb2QueryDirectoryResponse qr =
                                new Smb2QueryDirectoryResponse(config, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
                        setResults(qr, new FileEntry[] { fe3 });
                        return qr;
                    } else {
                        // Third query: no more files
                        throw new SmbException(NtStatus.NT_STATUS_NO_MORE_FILES, false);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

              }
            };
        static final PermittedMetaException UOE =
            new PermittedMetaException("UnsupportedOperationException") {
              @Override
              boolean isPermitted(Exception exception) {
                return exception instanceof UnsupportedOperationException;
              }
            };
        static final PermittedMetaException ISE =
            new PermittedMetaException("IllegalStateException") {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/cbean/ca/bs/BsSearchLogCA.java

            SearchLogCQ cq = new SearchLogCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                SearchLogCA ca = new SearchLogCA();
                aggsLambda.callback(ca);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 115.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // Test that the constructor and getters work with proper setup
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Set<String> getApiPingEsFieldSet() {
                    return new HashSet<>();
                }
            };
            ComponentUtil.register(mockConfig, "fessConfig");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

     */
    abstract class ExtensibleEnums {
    
        /**
         * Creates a new Language instance with the specified ID.
         *
         * @param id the identifier for the language
         * @return a new Language instance
         */
        static Language language(String id) {
            return new DefaultLanguage(id);
        }
    
        /**
         * Creates a new PathScope instance with the specified ID, project scope, and dependency scopes.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/FauxveridesTest.java

            ImmutableMap.of(new Object(), new Object(), new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    
      public void testImmutableSortedSetCopyOfIterable() {
        // false positive: `new Object()` is not equal to `new Object()`
        @SuppressWarnings("DistinctVarargsChecker")
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top