Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 5,013 for cstring (0.06 sec)

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

    /** Benchmarks for the hashing of UTF-8 strings. */
    @NullUnmarked
    public class HashStringBenchmark {
      static class MaxCodePoint {
        final int value;
    
        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        private long lastWriteTime;
        private long changeTime;
        private long endOfFile;
        private long allocationSize;
        private int extFileAttributes;
        private int eaSize;
        private String shortName;
        private String filename;
        private final Configuration config;
        private final boolean unicode;
    
        /**
         * Constructs a file both directory info.
         *
         * @param config the configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/MimeMap.java

         * @return the MIME type for the extension, or the specified default if not found
         * @throws IOException if there is an error processing the MIME mappings
         */
        public String getMimeType(final String extension, final String def) throws IOException {
            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        CompactHashSet<String> set = CompactHashSet.create(asList(elements));
                        for (int i = 0; i < 100; i++) {
                          set.add("extra" + i);
                        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] plaintext = "TestPassword456".toCharArray();
    
            // Encrypt to string
            String encryptedStr = storage.encryptToString(plaintext);
            assertNotNull(encryptedStr, "Encrypted string should not be null");
            assertFalse(encryptedStr.contains("TestPassword456"), "Plaintext should not be visible in encrypted string");
    
            // Should be valid base64
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
            final IndexedIterator<String> it = new IndexedIterator<String>(list.iterator());
    
            assertThat(it.hasNext(), is(true));
    
            final Indexed<String> indexed1 = it.next();
            assertThat(indexed1.getIndex(), is(0));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            extractor.destroy();
    
            super.tearDown();
        }
    
        public void test_getText() throws Exception {
            final String testStr = "testdata";
            final String content = ATTR_NAME + "," + testStr;
            final Map<String, String> params = new HashMap<String, String>();
            //final ExtractData text = extractor.getText(new ByteArrayInputStream(FileUtils.readFileToByteArray(new File(filePath))), params);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/converter/SqlDateConverter.java

         * The date pattern.
         */
        protected String pattern;
    
        /**
         * Constructs an instance.
         *
         * @param pattern
         *            the date pattern
         */
        public SqlDateConverter(final String pattern) {
            assertArgumentNotEmpty("pattern", pattern);
            this.pattern = pattern;
        }
    
        @Override
        public Object getAsObject(final String value) {
            if (StringUtil.isEmpty(value)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

         * in the toolchain plugin configuration.
         * @param requirements Map&lt;String, String&gt; key value pair, may not be {@code null}
         * @return {@code true} if the requirements match, otherwise {@code false}
         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
         *
         * @return the original model wrapped by this interface
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. cmd/warm-backend-gcs.go

    	client       *storage.Client
    	Bucket       string
    	Prefix       string
    	StorageClass string
    }
    
    func (gcs *warmBackendGCS) getDest(object string) string {
    	destObj := object
    	if gcs.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", gcs.Prefix, object)
    	}
    	return destObj
    }
    
    func (gcs *warmBackendGCS) PutWithMeta(ctx context.Context, key string, data io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top