Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2081 - 2090 of 5,013 for cstring (0.05 sec)

  1. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         */
        public CachedCipher() {
        }
    
        private static final String BLOWFISH = "Blowfish";
    
        private static final String RSA = "RSA";
    
        /**
         * The algorithm to use for the cipher.
         */
        protected String algorithm = BLOWFISH;
    
        /**
         * The transformation to use for the cipher.
         */
        protected String transformation = RSA;
    
        /**
         * The key to use for encryption/decryption.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/FileNotifyInformationTest.java

            @DisplayName("Test getFileName method with mock")
            void testGetFileName() {
                // Setup mock behavior
                String expectedFileName = "test-file.txt";
                when(mockFileNotifyInfo.getFileName()).thenReturn(expectedFileName);
    
                // Test
                String fileName = mockFileNotifyInfo.getFileName();
    
                // Verify
                assertEquals(expectedFileName, fileName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         */
        /**
         * Parses a DCERPC binding string into a DcerpcBinding object
         * @param str the binding string to parse
         * @return the parsed DcerpcBinding object
         * @throws DcerpcException if the binding string is malformed
         */
        protected static DcerpcBinding parseBinding(final String str) throws DcerpcException {
            int state, mark, si;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/bytes/reader_test.go

    		if expect := int64(len(s)); n != expect {
    			t.Errorf("got %v; want %v", n, expect)
    		}
    		if err != nil {
    			t.Errorf("for length %d: got error = %v; want nil", l, err)
    		}
    		if b.String() != s {
    			t.Errorf("got string %q; want %q", b.String(), s)
    		}
    		if r.Len() != 0 {
    			t.Errorf("reader contains %v bytes; want 0", r.Len())
    		}
    	}
    }
    
    func TestReaderLen(t *testing.T) {
    	const data = "hello world"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

         * @param timestamp The last modified timestamp of the file.
         */
        public SynonymFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
        public String getType() {
            return SYNONYM;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. cmd/metrics-resource.go

    }
    
    func getResourceKey(name MetricName, labels map[string]string) string {
    	// labels are used to uniquely identify a metric
    	// e.g. reads_per_sec_{drive} inside the map
    	sfx := ""
    	for _, v := range labels {
    		if len(sfx) > 0 {
    			sfx += "_"
    		}
    		sfx += v
    	}
    
    	return string(name) + "_" + sfx
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, this::asListHtml);
            }
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            // Test default empty when no env var is set
            String originalAppType = System.getenv("FESS_APP_TYPE");
    
            // Since we can't modify environment variables directly,
            // we test the current behavior
            String appType = ResourceUtil.getAppType();
            assertNotNull(appType);
            // appType should be either empty string or the actual env value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                    builder.startObject();
                    builder.field("string", "test");
                    builder.endObject();
                    return builder;
                }
            };
    
            try {
                String result = SearchEngineUtil.getXContentString(xContent, XContentType.JSON);
                assertNotNull(result);
                assertTrue(result.contains("string"));
                assertTrue(result.contains("test"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        }
      }
    
      private static class MutateTask implements Callable<int[]> {
        private final ConcurrentHashMultiset<String> multiset;
        private final ImmutableList<String> keys;
        private final Random random = new Random();
    
        private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) {
          this.multiset = multiset;
          this.keys = keys;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top