Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 348 for getTypes (0.06 sec)

  1. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                return name + "-" + version + ".jar";
            }
    
            public String getUrl() {
                return url;
            }
    
            public ArtifactType getType() {
                return ArtifactType.getType(name);
            }
    
            @Override
            public String toString() {
                return name + ":" + version;
            }
        }
    
        public enum ArtifactType {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                                try (InputStream contentStream = new BufferedInputStream(new SmbFileInputStream(file))) {
                                    responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
                                } catch (final Exception e) {
                                    logger.warn("I/O Exception.", e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(expected, murmur3_32().hashBytes(string.getBytes(charset)));
        assertHash(expected, murmur3_32_fixed().hashBytes(string.getBytes(charset)));
        assertHash(expected, murmur3_32().newHasher().putBytes(string.getBytes(charset)).hash());
        assertHash(expected, murmur3_32_fixed().newHasher().putBytes(string.getBytes(charset)).hash());
      }
    
      private boolean allBmp(String string) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacMD5");
      private static final SecretKey SHA1_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA1");
      private static final SecretKey SHA256_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA256");
      private static final SecretKey SHA512_KEY =
          new SecretKeySpec("secret key".getBytes(UTF_8), "HmacSHA512");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Strings.java

         */
        public static byte[] getBytes ( String str, Charset encoding ) {
            if ( str == null ) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
    
        /**
         * 
         * @param str
         * @return the string as bytes (UTF16-LE)
         */
        public static byte[] getUNIBytes ( String str ) {
            return getBytes(str, UNI_ENCODING);
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            }
            File file;
            try {
                file = File.createTempFile("script", extention);
                file.deleteOnExit();
                FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes());
                return file;
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        private File createScriptTempFileStdout(final int sleep) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1).contentType("application/octet-stream").build());
            minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("dir1/file2.txt")
                    .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1).contentType("application/octet-stream").build());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

        }
    
        public void test_name() {
            assertEquals("textTransformer", textTransformer.getName());
        }
    
        public void test_transform_text() throws Exception {
            final byte[] data = new String("xyz").getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("file:/test.txt");
            responseData.setCharSet(Constants.UTF_8);
            responseData.setResponseBody(data);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/CharsetsTest.java

      @GwtIncompatible // Non-UTF-8 Charset
      public void testWhyUsAsciiIsDangerous() {
        byte[] b1 = "朝日新聞".getBytes(Charsets.US_ASCII);
        byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII);
        byte[] b3 = "????".getBytes(Charsets.US_ASCII);
        byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII);
        byte[] b5 = "スューー".getBytes(Charsets.US_ASCII);
        // Assert they are all equal (using the transitive property)
        assertTrue(Arrays.equals(b1, b2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        ImmutableList<Parameter> parameters = delegate.getParameters();
        assertEquals(2, parameters.size());
        assertEquals(String.class, parameters.get(0).getType().getType());
        assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
        assertEquals(int.class, parameters.get(1).getType().getType());
        assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class));
        new EqualsTester()
            .addEqualityGroup(parameters.get(0))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top