Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1311 - 1320 of 5,657 for thai (0.42 seconds)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *
     * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates a
     * {@link java.net.ServerSocket ServerSocket}, and you would like to ensure that the {@code
     * ServerSocket} is closed even if the {@code MyServer} object is garbage-collected without calling
     * its {@code close} method. You could use a finalizer to accomplish this, but that has a
     * number of well-known problems. Here is how you might use this class instead:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/FunctionalEquivalence.java

        if (obj == this) {
          return true;
        }
        if (obj instanceof FunctionalEquivalence) {
          FunctionalEquivalence<?, ?> that = (FunctionalEquivalence<?, ?>) obj;
          return function.equals(that.function) && resultEquivalence.equals(that.resultEquivalence);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(function, resultEquivalence);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

      }
    
      /**
       * Map generator that verifies that {@code setUp()} methods are called in all the test cases. The
       * {@code setUpRan} parameter is set true by the {@code setUp} that every test case is supposed to
       * have registered, and set false by the {@code tearDown}. We use a dynamic proxy to intercept all
       * of the {@code Map} method calls and check that {@code setUpRan} is true.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java

        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly set
            DictionaryException exception = new DictionaryException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that the stack trace contains this test method
            boolean foundTestMethod = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null || getClass() != obj.getClass())
                return false;
            HandleGuid that = (HandleGuid) obj;
            return guid.equals(that.guid);
        }
    
        @Override
        public int hashCode() {
            return guid.hashCode();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Act
            aliasHandle.close();
    
            // Assert
            // Verify that sendrecv was called with MsrpcSamrCloseHandle
            verify(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class));
            // Verify that close was called only once on the mockDcerpcHandle for MsrpcSamrCloseHandle
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for {@link SmbComClose}.
     * <p>
     * All tests are written in the same package as the class under test so
     * that package-private fields and constants can be accessed directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
         * Ensure the constructor sets the {@code command} field of the
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            InputSource that = (InputSource) o;
            return java.util.Objects.equals(modelId, that.modelId)
                    && java.util.Objects.equals(location, that.location)
                    && java.util.Objects.equals(importedFrom, that.importedFrom);
        }
    
        @Override
        public int hashCode() {
            int result = hashCode;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/HostAndPort.java

       *
       * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]".
       * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and
       * disallow IPv6 literals that don't contain these brackets.
       *
       * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  10. tensorflow/c/eager/c_api_experimental_reader.h

    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    // and then incremented that counter for various values of label:
    // streamz->GetCell("label-value")->IncrementBy(1);
    //
    // The test code can then read and test the value of that counter:
    //
    // auto* reader = TFE_MonitoringNewCounterReader("name");
    // test();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 20 03:41:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top