Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3261 - 3270 of 5,421 for return (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

            @Test
            @DisplayName("Should always return 0")
            void testReadBytesWireFormat() {
                byte[] buffer = new byte[100];
    
                int bytesRead = echoRequest.readBytesWireFormat(buffer, 0);
    
                assertEquals(0, bytesRead);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer content")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
      }
    
      private static boolean isAndroid() {
        return System.getProperty("java.runtime.name", "").contains("Android");
      }
    
      private static boolean isWindows() {
        return OS_NAME.value().startsWith("Windows");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DosErrorTest.java

        // Returns -1 if the DOS code is not mapped.
        private static int findNtStatusOrMinusOne(int dosCode) {
            for (int[] pair : DosError.DOS_ERROR_CODES) {
                // each pair is [dosCode, ntStatus]
                if (pair != null && pair.length == 2 && pair[0] == dosCode) {
                    return pair[1];
                }
            }
            return -1;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/https/Handler.java

         */
        public Handler(final CIFSContext tc) {
            super(tc);
        }
    
        /**
         * Returns the default HTTPS port.
         *
         * @return An <code>int</code> containing the default HTTPS port.
         */
        @Override
        protected int getDefaultPort() {
            return DEFAULT_HTTPS_PORT;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. cmd/os-readdir_test.go

    	testResults = append(testResults, result{dir, entries})
    	return testResults
    }
    
    // Test to read non-empty directory with symlinks.
    func setupTestReadDirSymlink(t *testing.T) (testResults []result) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("symlinks not available on windows")
    		return nil
    	}
    	dir := t.TempDir()
    	entries := []string{}
    	for i := range 10 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

            .build()
        return@lazy HandshakeCertificates
          .Builder()
          .heldCertificate(heldCertificate)
          .addTrustedCertificate(heldCertificate.certificate)
          .build()
      }
    
      /** Returns an SSL client for this host's localhost address. */
      @JvmStatic
      fun localhost(): HandshakeCertificates = localhost
    
      /** Returns a trust manager that trusts `trustedCertificates`. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

                    verifyPropertyValue(propertyKey, filteredValue); // null checked
                    return filterPropertyAsDefault(filteredValue); // not null here
                }
    
                private String getFromCache(final String propertyKey) {
                    try {
                        return cache.get(propertyKey,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacSidAttributes.java

        }
    
        /**
         * Gets the Security Identifier.
         *
         * @return the SID associated with this instance
         */
        public SID getId() {
            return this.id;
        }
    
        /**
         * Gets the attribute flags associated with the SID.
         *
         * @return the attribute flags
         */
        public int getAttributes() {
            return this.attributes;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

            String className = getClass().getPackage().getName();
    
            return className.substring(className.lastIndexOf('.') + 1);
        }
    
        protected File projectFile(String name) {
            return projectFile("maven", name);
        }
    
        protected File projectFile(String groupId, String artifactId) {
            return new File(getLocalRepositoryPath(), "/" + groupId + "/poms/" + artifactId + "-1.0.pom");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

              || c < safeMinChar) {
            return escapeSlow(s, i);
          }
        }
        return s;
      }
    
      /**
       * Escapes a single Unicode code point using the replacement array and safe range values. If the
       * given character does not have an explicit replacement and lies outside the safe range then
       * {@link #escapeUnsafe} is called.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top