Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2871 - 2880 of 7,017 for string (0.38 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Assert
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("toString should return formatted string with pipe name")
        void testToString() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
    
            // Act
            String result = transWaitNamedPipe.toString();
    
            // Assert
            assertNotNull(result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

        public Slf4jMavenTransferListener(Logger out) {
            this.out = out;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                return (T) BooleanConversionUtil.toBoolean(arg);
            } else if (arg != null && arg.getClass() != String.class && String.class == propertyType) {
                return (T) arg.toString();
            } else if (arg instanceof String && !String.class.equals(propertyType)) {
                return (T) convertWithString(arg);
            } else if (java.util.Calendar.class.isAssignableFrom(propertyType)) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

        return configureSocket(sslSocket)
      }
    
      override fun getDefaultCipherSuites(): Array<String> = delegate.defaultCipherSuites
    
      override fun getSupportedCipherSuites(): Array<String> = delegate.supportedCipherSuites
    
      @Throws(IOException::class)
      override fun createSocket(
        socket: Socket,
        host: String,
        port: Int,
        autoClose: Boolean,
      ): SSLSocket {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            String result = (String) readStringMethod.invoke(response, buffer, 10, 128, false);
    
            assertEquals(testString, result);
        }
    
        @Test
        @DisplayName("Test readString with null terminator in middle")
        void testReadStringWithNullTerminator() throws Exception {
            byte[] buffer = new byte[128];
            String testString = "Test";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

    class NetServerEnum2Response extends SmbComTransactionResponse {
    
        class ServerInfo1 implements FileEntry {
            String name;
            int versionMajor;
            int versionMinor;
            int type;
            String commentOrMasterBrowser;
    
            @Override
            public String getName() {
                return name;
            }
    
            @Override
            public int getType() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

            return getStopwordsFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a stopword item in the specified dictionary.
         *
         * @param dictId        The ID of the dictionary.
         * @param stopwordsItem The stopword item to store.
         */
        public void store(final String dictId, final StopwordsItem stopwordsItem) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/SynonymService.java

        public OptionalEntity<SynonymItem> getSynonymItem(final String dictId, final long id) {
            return getSynonymFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a synonym item in the specified dictionary.
         *
         * @param dictId      The ID of the dictionary.
         * @param synonymItem The synonym item to store.
         */
        public void store(final String dictId, final SynonymItem synonymItem) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

         *
         * @param path the file path to encode
         * @return the Base64 encoded path
         */
        protected String encodePath(final String path) {
            return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8));
        }
    
        /**
         * Checks if the given path matches this creator's pattern.
         *
         * @param path the file path to check
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

        }
    
        /**
         * Returns method parameters from method signature, e.g. "(Ljava/lang/String;I)V" -> "(Ljava/lang/String;I)"
         */
        private static String methodParametersFromSignature(CtMethod method) {
            return method.signature.substring(0, method.signature.indexOf(")") + 1)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top