Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 4,617 for New (0.02 sec)

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

                  return false;
                }
              }
              return true;
            };
        TypeWithDuplicates a = new TypeWithDuplicates(1, 1);
        TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1);
        TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2);
        TypeWithDuplicates c = new TypeWithDuplicates(3, 1);
        CollectorTester.of(collector, equivalence)
            .expectCollects(ImmutableSet.of(a, b1, c), a, b1, c, b2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java

            }
            dictionaryManager.addCreator(this);
        }
    
        /**
         * Creates a new {@link SynonymFile} instance.
         *
         * @param id        The unique identifier for the dictionary file.
         * @param path      The file path of the dictionary.
         * @param timestamp The last modified timestamp of the file.
         * @return A new {@link SynonymFile} associated with the dictionary manager.
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
            final MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

        }
    
        /**
         * Tests the writeSetupWireFormat method.
         */
        @Test
        void testWriteSetupWireFormat() {
            // Given
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation("test.txt", 0x0101);
            byte[] dst = new byte[2];
    
            // When
            int bytesWritten = trans.writeSetupWireFormat(dst, 0);
    
            // Then
            assertEquals(2, bytesWritten, "Should write 2 bytes.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            try {
                return new URL(null, spec, new Handler());
            } catch (MalformedURLException e) {
                throw new AssertionError("Failed to create SMB URL: " + spec, e);
            }
        }
    
        // Utility to build a minimal locator for connect tests
        private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) {
            return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            ClassLoader customClassLoader = new URLClassLoader(new URL[0], null) {
                @Override
                public Class<?> loadClass(String name) throws ClassNotFoundException {
                    if ("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager".equals(name)) {
                        // Simulate class not found
                        throw new ClassNotFoundException(name);
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            this.docRoot = docRoot;
    
            server = new Server(port);
    
            final ResourceHandler resource_handler = new ResourceHandler();
            resource_handler.setWelcomeFiles(new String[] { "index.html" });
            resource_handler.setResourceBase(docRoot.getAbsolutePath());
            Log.info("serving " + resource_handler.getBaseResource());
            final HandlerList handlers = new HandlerList();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                // Given: A SID with test values
                rpc.sid_t sid = new rpc.sid_t();
                sid.revision = (byte) 1;
                sid.sub_authority_count = (byte) 2;
                sid.identifier_authority = new byte[] { (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 5 };
                sid.sub_authority = new int[] { 1000, 2000 };
    
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top