Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 188 for infer (0.02 seconds)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      }
    
      private class Inner {
        @Keep
        public Inner(String s) {
          checkNotNull(s);
        }
      }
    
      public void testNonStaticInnerClass() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () -> new NullPointerTester().testAllPublicConstructors(Inner.class));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

            ChecksumCalculator getCalculator();
        }
    
        /**
         * The checksum calculator.
         */
        interface ChecksumCalculator {
            /**
             * Updates the checksum algorithm inner state with input.
             *
             * @throws NullPointerException if passed in buffer is {@code null}.
             */
            void update(@Nonnull ByteBuffer input);
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

     *   It allows you to register callbacks that will be executed when the computation is complete,
     *   either successfully (resolve) or with an error (reject).
     * </p>
     *
     * <p>
     *   The Deferred class has a Promise inner class that allows you to register callbacks
     *   to be executed when the computation is complete.
     *   The Promise class has then and error methods that allow you to register callbacks
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

        private SmbTransport.ServerData serverData;
        private SmbComNegotiateResponse response;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            // To instantiate the non-static inner class ServerData, we need an instance of the outer class SmbTransport.
            UniAddress uniAddress = new UniAddress(InetAddress.getByName("127.0.0.1"));
            SmbTransport transport = new SmbTransport(uniAddress, 445, null, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

        private Trans2FindFirst2Response response;
    
        @BeforeEach
        void setUp() {
            response = new Trans2FindFirst2Response();
        }
    
        // Test cases for SmbFindFileBothDirectoryInfo inner class
        @Test
        void testSmbFindFileBothDirectoryInfo_Getters() {
            Trans2FindFirst2Response.SmbFindFileBothDirectoryInfo info = response.new SmbFindFileBothDirectoryInfo();
            info.filename = "test.txt";
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          currentPart = partSource
          return Part(headers, partSource.buffer())
        }
    
        /** A single part in the stream. It is an error to read this after calling [nextPart]. */
        private inner class PartSource : Source {
          private val timeout = Timeout()
    
          override fun close() {
            if (currentPart == this) {
              currentPart = null
            }
          }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/EqualsTester.java

                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            // NEVER
            "AssignmentExpression", // Not using it is more a matter of taste.
            "EffectivelyPrivate", // It is still useful to distinguish between public interface and implementation details of inner classes even though it isn't enforced.
            "InjectOnConstructorOfAbstractClass", // We use abstract injection as a pattern
            "InlineMeSuggester", // Only suppression seems to actually "fix" this, so make it global
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 01 11:57:43 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            } finally {
              this.removeSnapshot = null
            }
          }
        }
      }
    
      /** A snapshot of the values for an entry. */
      inner class Snapshot internal constructor(
        private val key: String,
        private val sequenceNumber: Long,
        private val sources: List<Source>,
        private val lengths: LongArray,
      ) : Closeable {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
Back to Top