Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 348 for getTypes (0.1 sec)

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

        for (int i = 0; i < reps; i++) {
          res +=
              System.identityHashCode(
                  hashFunctionEnum
                      .getHashFunction()
                      .hashBytes(strings[i & SAMPLE_MASK].getBytes(UTF_8)));
        }
        return res;
      }
    
      @Benchmark
      int hashUtf8GetBytesHasher(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
              System.identityHashCode(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java

        }
    
        public void test_builder() {
            assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent());
            assertEquals("test",
                    extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent());
        }
    
        public void test_addExtractor_weight() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:13 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a server.
         */
        public static final int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
         * represents is a share.
         */
        public static final int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link #getType()} if the resource this <tt>SmbFile</tt>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/SubtypeTester.java

      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
      private static Type getSubtype(Type type, Class<?> subclass) {
        return TypeToken.of(type).getSubtype(subclass).getType();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/FileUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            final byte[] bytes = readBytes(inputFile);
            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

            numOfFragments = fessConfig.getQueryHighlightNumberOfFragmentsAsInteger();
            fragmentOffset = fessConfig.getQueryHighlightFragmentOffsetAsInteger();
        }
    
        public String getType() {
            return type;
        }
    
        public HighlightInfo type(final String type) {
            this.type = type;
            return this;
        }
    
        public int getFragmentSize() {
            return fragmentSize;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                return "WORKGROUP";
            }
    
            @Override
            public String getTypeText() {
                return "User";
            }
    
            @Override
            public int getType() {
                return 1;
            }
    
            @Override
            public <T> T unwrap(Class<T> type) {
                return null;
            }
        };
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

            ToolchainWrapper(org.apache.maven.toolchain.Toolchain toolchain) {
                this.toolchain = toolchain;
            }
    
            @Override
            public String getType() {
                return toolchain.getType();
            }
    
            @Override
            public String findTool(String toolName) {
                return toolchain.findTool(toolName);
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                    boolean multiValued = false;
                    if (property != null && method.getParameters().size() == 1 && method.getParameters().get(0).getType().getSignature().equals(Closure.class.getName())) {
                        TypeMetaData type = property.getMetaData().getType();
                        if (type.getName().equals("java.util.List")
                                || type.getName().equals("java.util.Collection")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putString(CharSequence charSequence, Charset charset) {
        return putBytes(charSequence.toString().getBytes(charset));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes) {
        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top