Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 816 for Caller (1.15 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should write FileInformation data + 6 bytes padding
            assertEquals(46, written); // 40 + 6
    
            // Verify encode was called
            verify(mockFileInfo).encode(buffer, 0);
    
            // Check that 6 bytes of padding are zeros
            for (int i = 40; i < 46; i++) {
                assertEquals(0, buffer[i]);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/SneakyThrows.java

       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
      static Error sneakyThrow(Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashingOutputStream.java

        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
       * unspecified if this method is called more than once on the same instance.
       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/SneakyThrows.java

       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
       *     write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always
       *     throw.
       */
      @CanIgnoreReturnValue
      static Error sneakyThrow(Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /** The transaction name for named pipe transactions */
        protected String name = "";
        /** Maximum buffer size set in SmbTransport.sendTransaction() before nextElement called */
        protected int maxBufferSize; // set in SmbTransport.sendTransaction() before nextElement called
    
        private byte[] txn_buf;
    
        /**
         * Constructs a transaction request.
         *
         * @param config the configuration to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

        /**
         * Initializes the RelatedContentHelper by loading related content configurations
         * from the data store. This method is called automatically after dependency
         * injection is complete.
         *
         * PostConstruct annotation ensures this method is called after the bean
         * has been constructed and all dependencies have been injected.
         */
        @PostConstruct
        public void init() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * to run a particular event is made during the state change, but the decision to actually invoke
     * the listeners can be delayed slightly so that locks can be dropped. Also, because {@link
     * #dispatch} is expected to be called concurrently, it is idempotent.
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class ListenerCallQueue<L> {
      // TODO(cpovirk): consider using the logger associated with listener.getClass().
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

      fun metadata(): ByteString = metadata
    
      /**
       * Returns a new source that returns the same bytes as upstream. Returns null if this relay has
       * been closed and no further sources are possible. In that case callers should retry after
       * building a new relay with [.read].
       */
      fun newSource(): Source? {
        synchronized(this@Relay) {
          if (file == null) return null
          sourceCount++
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. tests/preload_suits_test.go

    		},
    	}
    	DB.Save(&lvl)
    
    	var called int64
    	DB.Callback().Query().After("gorm:query").Register("TestPreloadManyToManyCallbacks", func(_ *gorm.DB) {
    		atomic.AddInt64(&called, 1)
    	})
    
    	DB.Preload("Level2s").First(&Level1{}, "id = ?", lvl.ID)
    
    	if called != 3 {
    		t.Errorf("Wanted callback to be called 3 times but got %d", called)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 05 11:34:13 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            };
    
            jobExecutor.addShutdownListener(listener);
            assertNotNull(jobExecutor.shutdownListener);
            assertEquals(listener, jobExecutor.shutdownListener);
    
            // Verify listener is called on shutdown
            jobExecutor.shutdown();
            assertTrue(shutdownCalled.get());
        }
    
        public void test_addShutdownListener_replace() {
            // Test replacing shutdown listener
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top