Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 222 for Something (0.06 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

       * Attempts to skip up to {@code n} bytes from the given input stream, but not more than {@code
       * in.available()} bytes. This prevents {@code FileInputStream} from skipping more bytes than
       * actually remain in the file, something that it {@linkplain java.io.FileInputStream#skip(long)
       * specifies} it can do in its Javadoc despite the fact that it is violating the contract of
       * {@code InputStream.skip()}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        }
        for (int j = 0; j < 1000; j++) {
          builder.add(9);
        }
        ImmutableSortedSet<Integer> unused = builder.build();
        assertThat(compares[0]).isAtMost(10000);
        // hopefully something quadratic would have more digits
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

         *   ...))`
         *
         * So it makes sense for the parameter (and thus the return type) to be @Nullable.
         *
         * Two other points:
         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    		size = diskAssumeUnknownSize
    	}
    
    	var available uint64
    	var total uint64
    	var nDisks int
    	for _, disk := range di {
    		if disk == nil || disk.Total == 0 {
    			// Disk offline, no inodes or something else is wrong.
    			continue
    		}
    		nDisks++
    		total += disk.Total
    		available += disk.Total - disk.Used
    	}
    
    	if nDisks < len(di)/2 || nDisks <= 0 {
    		var errs []error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

         *   ...))`
         *
         * So it makes sense for the parameter (and thus the return type) to be @Nullable.
         *
         * Two other points:
         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Monitor.java

      //    finally { guard.unlock(); }
      // Here are Justin's design notes about this:
      //
      // This idea has come up from time to time, and I think one of my
      // earlier versions of Monitor even did something like this. I ended
      // up strongly favoring the current interface.
      //
      // I probably can't remember all the reasons (it's possible you
      // could find them in the code review archives), but here are a few:
      //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * // later
     * try { // get() will throw if the operation failed or was cancelled.
     *   UserName userName = userNameValueAndCloser.get();
     *   // do something with userName
     * } finally {
     *   userNameValueAndCloser.closeAsync();
     * }
     * }
     *
     * In this example, when {@code userNameValueAndCloser.closeAsync()} is called, the transaction and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val client =
          client
            .newBuilder()
            .retryOnConnectionFailure(false)
            .build()
    
        // Seed the connection pool so we have something that can fail.
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.body.string()).isEqualTo("abc")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  9. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

        it under certain conditions; type `show c' for details.
    
    The hypothetical commands `show w' and `show c' should show the
    appropriate parts of the General Public License. Of course, the commands
    you use may be called something other than `show w' and `show c'; they
    could even be mouse-clicks or menu items--whatever suits your program.
    
    You should also get your employer (if you work as a programmer) or your
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

      |
      | o validators: there could be several levels of validation. Simple type validation could
      |   be done with a regex, but we need inter-field validation and rules which could be
      |   dealt with by something like drools.
      |
      | o i18n: would be good to be able to have names/descriptions/specifications
      |   in as many languages as possible. (see MNG-3626)
      |
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
Back to top