Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 121 for 12341 (0.02 seconds)

  1. android/guava/src/com/google/common/net/HostAndPort.java

      @Override
      public int hashCode() {
        return Objects.hash(host, port);
      }
    
      /** Rebuild the host:port string, including brackets if necessary. */
      @Override
      public String toString() {
        // "[]:12345" requires 8 extra bytes.
        StringBuilder builder = new StringBuilder(host.length() + 8);
        if (host.indexOf(':') >= 0) {
          builder.append('[').append(host).append(']');
        } else {
          builder.append(host);
    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)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // When an output buffer is provided, bytes are copied and getOutputData(Class) should fail.
            byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS);
            byte[] output = new byte[] { 1, 2, 3, 4, 5 };
            byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, new byte[16], 0, null, output.length, output, 0x0);
            byte[] packet = new byte[header.length + body.length];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            verify(request, times(1)).allowChain(null);
        }
    
        @Test
        @DisplayName("Test setTid with positive value")
        void testSetTidWithPositiveValue() {
            // Given
            int tid = 12345;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            sitePath = "c:/home/user/";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
    
            urlLink = "file://1.2.3.4/user/";
            sitePath = "1.2.3.4/user/";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
        }
    
        @Test
        public void test_getContentTitle() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // This sentence just isn't base64() encoded.
        assertFailsToDecode(base64(), "let's not talk of love or chains!");
        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertTrue(noKey.getMessage().contains("No session key"));
    
            // Set a key via reflection and verify retrieval
            byte[] key = new byte[] { 1, 2, 3, 4 };
            setField(session, "sessionKey", key);
            assertArrayEquals(key, session.getSessionKey());
        }
    
        @Test
        @DisplayName("getSmbTree returns same instance for same share/service")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.234))
            .testEquals();
      }
    
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(MANY_VALUES_PAIRED_STATS);
      }
    
      public void testToString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(new PairedStats(MANY_VALUES_STATS_ITERABLE, ONE_VALUE_STATS, 1.23))
            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.234))
            .testEquals();
      }
    
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(MANY_VALUES_PAIRED_STATS);
      }
    
      public void testToString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java

            doc.put("url", "https://example.com");
            doc.put("title", "Test Title");
            doc.put("role", "Rguest");
            doc.put("boost", "1.0");
            doc.put("content_length", "12345");
            doc.put("click_count", "100");
    
            final List<String> errors = new ArrayList<>();
            AdminSearchlistAction.validateFields(doc, messages -> {
                errors.add("error");
            });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 34.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

         * Test that list operations work
         */
        @Test
        public void test_evaluate_listOperations() {
            final Map<String, Object> params = new HashMap<>();
            final String script = "def list = [1, 2, 3, 4, 5]; return list.sum()";
            assertEquals(15, groovyEngine.evaluate(script, params));
        }
    
        /**
         * Test that map operations work
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
Back to Top