Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,848 for result (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

              return false;
            }
            byte result = 0;
            for (int i = 0; i < a.length; i++) {
              result = (byte) (result | a[i] ^ b[i]);
            }
            return result == 0;
          }
        },
        XORING_TO_INT {
          @Override
          boolean doEquals(byte[] a, byte[] b) {
            if (a.length != b.length) {
              return false;
            }
            int result = 0;
            for (int i = 0; i < a.length; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileFilterTest.java

            SmbFileFilter filter = f -> f.isDirectory();
            when(smbFile.isDirectory()).thenReturn(true);
    
            // Act
            boolean result = filter.accept(smbFile);
    
            // Assert
            assertTrue(result, "Directory should be accepted");
            verify(smbFile, times(1)).isDirectory();
            verify(smbFile, never()).getName();
            verifyNoMoreInteractions(smbFile);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

                logger.log(format("ECL0017", e.getMessage()), e);
            }
        }
    
        /**
         * Moves the result set to the next position.
         *
         * @param resultSet
         *            The result set. Must not be {@literal null}.
         * @return Whether the result set successfully moved to the next position.
         */
        public static boolean next(final ResultSet resultSet) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            monitorTarget.append(buf, "dateKey", supplier);
            String result = buf.toString();
            assertTrue(result.startsWith("\"dateKey\":\""));
            // Check that the date was converted to string and properly escaped
            assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000"));
        }
    
        // Test appendTimestamp method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            questionNameField.set(response, new Name(mockConfig));
    
            int result = response.readBodyWireFormat(src, srcIndex);
            assertTrue(result > 0);
        }
    
        @Test
        void writeRDataWireFormat_shouldReturnZero() {
            byte[] dst = new byte[100];
            int result = response.writeRDataWireFormat(dst, 10);
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                UpgradeContext context = createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0"));
                String result = upgradeGoal.testDoUpgradeLogic(context, "4.1.0");
    
                assertEquals("4.1.0", result);
            }
    
            @Test
            @DisplayName("should use 4.1.0 when --all option is specified")
            void shouldUse410WhenAllOptionSpecified() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverException.java

        private final ArtifactResolverResult result;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         * @param result the resolution result containing detailed information
         */
        public ArtifactResolverException(String message, Exception e, ArtifactResolverResult result) {
            super(message, e);
            this.result = result;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/UnmodifiableSortedMultiset.java

      @Override
      public SortedMultiset<E> descendingMultiset() {
        UnmodifiableSortedMultiset<E> result = descendingMultiset;
        if (result == null) {
          result = new UnmodifiableSortedMultiset<E>(delegate().descendingMultiset());
          result.descendingMultiset = this;
          return descendingMultiset = result;
        }
        return result;
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/misc/Pair.java

        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((first == null) ? 0 : first.hashCode());
            result = prime * result + ((second == null) ? 0 : second.hashCode());
            return result;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                for (boolean result : results) {
                    assertEquals(firstResult, result, "All thread results should be consistent");
                }
            }
    
            @Test
            @DisplayName("Should handle concurrent verify operations efficiently")
            void testConcurrentVerifyPerformance() throws InterruptedException {
                int threadCount = 50;
                int operationsPerThread = 100;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
Back to Top