Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 1,446 for needle (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        /**
         * Reads a byte of data from this input stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
        Reader reader = concatenated.openStream(); // no need to worry about closing
        for (int i = 0; i < 8; i++) {
          builder.append((char) reader.read());
        }
        assertEquals(expected, builder.toString());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      private final Set<Method> suppressedTests = new HashSet<>();
    
      /**
       * Prevents the given methods from being run as part of the test suite.
       *
       * <p>Note: in principle this should never need to be used, but it might be useful if the
       * semantics of an implementation disagree in unforeseen ways with the semantics expected by a
       * test, or to keep dependent builds clean in spite of an erroneous test.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Stopwatch.java

     * of the elapsed times reported. {@code Stopwatch} is still suitable for logging and metrics where
     * reasonably accurate values are sufficient. If the uncommon case that you need to maximize
     * accuracy, use {@code System.nanoTime()} directly instead.
     *
     * <p>Basic usage:
     *
     * {@snippet :
     * Stopwatch stopwatch = Stopwatch.createStarted();
     * doSomething();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. callbacks/query.go

    	}
    }
    
    func AfterQuery(db *gorm.DB) {
    	// clear the joins after query because preload need it
    	if v, ok := db.Statement.Clauses["FROM"].Expression.(clause.From); ok {
    		fromClause := db.Statement.Clauses["FROM"]
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (3)
  6. cmd/sftp-server_test.go

    	}
    }
    
    func (s *TestSuiteIAM) SFTPValidLDAPLoginWithPassword(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	// we need to do this so that the user has a policy before authentication.
    	// ldap user accounts without policies are denied access in sftp.
    	policy := "mypolicy"
    	policyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

             * Only kill local Gradle processes (classpath in checkout directory).
             * Not clean up global Gradle processes (i.e. classpath in ~/.gradle/...).
             * Because the step is not guaranteed to run (e.g. build timeout), we need `KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS` mode.
             */
            KILL_PROCESSES_STARTED_BY_GRADLE,
            /**
             * Run when we want to retry the build. Kill all Gradle processes, regardless of they're global or local.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 23 13:49:45 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @Test
            @DisplayName("Should return correct number of bytes consumed from buffer")
            void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException {
                // Given - larger buffer than needed
                byte[] buffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(1000L);
                bb.putLong(500L);
                bb.putInt(8);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. build.gradle.kts

        // okhttp configured specifically.
        if (project.name == "okhttp") return@dependencies
    
        if (project.name == "mockwebserver3-junit5") {
          // JUnit 5's APIs need java.util.function.Function and java.util.Optional from API 24.
          androidSignature(rootProject.libs.signature.android.apilevel24) { artifact { type = "signature" } }
        } else {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
                        } catch (final IOException ioe) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top