Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 391 for occupy (0.23 seconds)

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

        awaitTermination(t, LONG_DELAY_MS);
      }
    
      // Some convenient Runnable classes
    
      // These classes don't merely allow checked exceptions but also store any exceptions that occur
      // so that we can then report them during tearDown.
    
      abstract class CheckedRunnable implements Runnable {
        abstract void realRun() throws Throwable;
    
        @Override
        public final void run() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/Config.java

         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         *
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

                    emptyIterator.next();
                    count++;
                    if (count > 10)
                        break; // Safety check
                }
                assertEquals(0, count, "No iterations should occur for empty iterator");
            }, "EmptyIterator should work with manual iteration");
        }
    
        @Test
        @DisplayName("EmptyIterator should handle concurrent access safely")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

            .that(input)
            .isNotInstanceOf(ListenableFuture.class);
        ListenableFuture<String> listenable = listenInPoolThread(input);
        /*
         * This will occur before the waiting get() in the
         * listenInPoolThread-spawned thread completes:
         */
        RecordingRunnable earlyListener = new RecordingRunnable();
        listenable.addListener(earlyListener, directExecutor());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

        }
    
        /**
         * Creates a Type-2 message using the given raw Type-2 material.
         *
         * @param material The raw Type-2 material used to construct this message.
         * @throws IOException If an error occurs while parsing the material.
         */
        public Type2Message(final byte[] material) throws IOException {
            parse(material);
        }
    
        /**
         * Returns the challenge for this message.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. internal/s3select/csv/reader.go

    	r.recordsRead = len(r.current)
    	if r.err == nil {
    		r.err = io.EOF
    	}
    	return r.readCloser.Close()
    }
    
    // nextSplit will attempt to skip a number of bytes and
    // return the buffer until the next newline occurs.
    // The last block will be sent along with an io.EOF.
    func (r *Reader) nextSplit(skip int, dst []byte) ([]byte, error) {
    	if cap(dst) < skip {
    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  7. internal/grid/connection.go

    }
    
    // readStream handles the read side of the connection.
    // It will read messages and send them to c.handleMsg.
    // If an error occurs the cancel function will be called and conn be closed.
    // The function will block until the connection is closed or an error occurs.
    func (c *Connection) readStream(ctx context.Context, conn net.Conn, cancel context.CancelCauseFunc) {
    	defer func() {
    		if rec := recover(); rec != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

         *
         * @param paramMap the data store parameters
         * @param dataMap the document data to store
         * @throws DataStoreException if required fields are missing or other errors occur
         */
        @Override
        public void store(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                                ex = new SmbAuthException("Login failed", se);
                            }
                            /*
                             * Apparently once a successful NTLMSSP login occurs, the
                             * server will return "Access denied" even if a logoff is
                             * sent. Unfortunately calling disconnect() doesn't always
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
Back to Top