Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2741 - 2750 of 5,169 for String (0.3 sec)

  1. src/test/java/jcifs/util/EncdecTest.java

        }
    
        @Test
        @DisplayName("Should encode and decode strings using byte operations")
        void testStringOperations() {
            // Given
            String testString = "Hello";
            byte[] buffer = new byte[testString.length()];
    
            // When - Manual string encoding using individual bytes
            byte[] strBytes = testString.getBytes();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      private enum TrimStringFunction implements Function<String, String> {
        INSTANCE;
    
        @Override
        public String apply(String string) {
          return whitespace().trimFrom(string);
        }
      }
    
      public void testCompose() {
        Function<String, String> trim = TrimStringFunction.INSTANCE;
        Predicate<String> equalsFoo = Predicates.equalTo("Foo");
        Predicate<String> equalsBar = Predicates.equalTo("Bar");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ObjectsTest.java

      })
      public void testEqual() throws Exception {
        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
        String s2 = new String(s1);
        assertTrue(Objects.equal(s1, s2));
    
        assertFalse(Objects.equal(s1, null));
        assertFalse(Objects.equal(null, s1));
        assertFalse(Objects.equal("foo", "bar"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/VerifyTest.java

        VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, FORMAT, 5));
        checkMessage(expected);
      }
    
      private static final String NON_NULL_STRING = "foo";
    
      public void testVerifyNotNull_simple_success() {
        String result = verifyNotNull(NON_NULL_STRING);
        assertSame(NON_NULL_STRING, result);
      }
    
      public void testVerifyNotNull_simple_failure() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      private static final Integer I1 = -1;
      private static final Integer I2 = 3;
      private static final String S0 = "3";
      private static final String S1 = "Ninety five";
      private static final String S2 = "44 one million";
      private static final String S3 = "Lowly laundry lefties";
      private static final String S4 = "89273487U#*&#";
      private static final Double D0 = 9.234d;
      private static final Double D1 = -1.2e55;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/GroupService.java

         *
         * @param id the unique identifier of the group
         * @return an OptionalEntity containing the group if found, empty otherwise
         */
        public OptionalEntity<Group> getGroup(final String id) {
            return groupBhv.selectByPK(id).map(g -> {
                ComponentUtil.getLdapManager().apply(g);
                return g;
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test basic functionality
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("id", "doc123");
    
            emptyGenerator.setName("empty");
            String path = "/path/to/thumbnail.jpg";
    
            // Since createTask requires FessConfig, it may not work properly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NodeStatusResponse.java

        }
    
        private int readNodeNameArray(final byte[] src, int srcIndex) {
            final int start = srcIndex;
    
            this.addressArray = new NbtAddress[this.numberOfNames];
    
            String n;
            int hexCode;
            final String scope = this.queryAddress.hostName.scope;
            boolean groupName;
            int ownerNodeType;
            boolean isBeingDeleted;
            boolean isInConflict;
            boolean isActive;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. docs/bucket/versioning/DESIGN.md

    | xlMetaInlineDataVer | byte                        | version identifier
    | id -> data          | msgp `map[string][]byte`      | Map of string id -> byte content
    
    Currently only xlMetaInlineDataVer == 1 exists.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  10. cmd/data-usage-cache_gen.go

    	// map header, size 4
    	// string "current"
    	o = append(o, 0x84, 0xa7, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74)
    	o = msgp.AppendUint64(o, z.current)
    	// string "next"
    	o = append(o, 0xa4, 0x6e, 0x65, 0x78, 0x74)
    	o = msgp.AppendUint64(o, z.next)
    	// string "started"
    	o = append(o, 0xa7, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.started)
    	// string "cycleCompleted"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 86.4K bytes
    - Viewed (0)
Back to top