Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,127 for samme (0.02 sec)

  1. src/bytes/buffer.go

    // Available returns how many bytes are unused in the buffer.
    func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) }
    
    // Truncate discards all but the first n unread bytes from the buffer
    // but continues to use the same allocated storage.
    // It panics if n is negative or greater than the length of the buffer.
    func (b *Buffer) Truncate(n int) {
    	if n == 0 {
    		b.Reset()
    		return
    	}
    	b.lastRead = opInvalid
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    		// De-dup same object name to collect multiple versions for same object.
    		v, ok := versionsMap[objects[i].ObjectName]
    		if ok {
    			v.Versions = append(v.Versions, vr)
    		} else {
    			v = FileInfoVersions{
    				Name:     vr.Name,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Streams.java

        checkNotNull(streamA);
        checkNotNull(streamB);
        checkNotNull(function);
        boolean isParallel = streamA.isParallel() || streamB.isParallel(); // same as Stream.concat
        Spliterator<A> splitrA = streamA.spliterator();
        Spliterator<B> splitrB = streamB.spliterator();
        int characteristics =
            splitrA.characteristics()
                & splitrB.characteristics()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

     * collector by only using a constant number of internal objects.
     *
     * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
     * {@link #values} views is the same as insertion order. Any removal invalidates any ordering
     * guarantees.
     *
     * <p>This class should not be assumed to be universally superior to {@code java.util.HashMap}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

      @SuppressWarnings("ShortCircuitBoolean")
      public static long saturatedSubtract(long a, long b) {
        long naiveDifference = a - b;
        if ((a ^ b) >= 0 | (a ^ naiveDifference) >= 0) {
          // If a and b have the same signs or a has the same sign as the result then there was no
          // overflow, return.
          return naiveDifference;
        }
        // we did over/under flow
        return Long.MAX_VALUE + ((naiveDifference >>> (Long.SIZE - 1)) ^ 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Set a test time using reflection
            long testTime = System.currentTimeMillis();
            setFieldValue(response, "lastWriteTime", testTime);
    
            // All time methods should return the same converted time
            long expectedTime = testTime + serverTimeZoneOffset;
            assertEquals(expectedTime, response.getCreateTime());
            assertEquals(expectedTime, response.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            // Then
            TimeZone first = provider.provide();
            TimeZone second = provider.provide();
            assertSame("Provider should return the same TimeZone instance", first, second);
        }
    
        public void test_createFinalTimeZoneProvider_toStringContainsTimeZoneId() {
            // When
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThrows(IOException.class, () -> reader.reset());
      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
      private static void assertReadsCorrectly(CharSequence charSequence) throws IOException {
        String expected = charSequence.toString();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Platform.java

       * for insertions.
       */
      static <E extends @Nullable Object> Set<E> preservesInsertionOrderOnAddsSet() {
        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

    /**
     * A container for data that is specific to a session.
     * All components may use this storage to associate arbitrary data with a session.
     * <p>
     * Unlike a cache, this session data is not subject to purging. For this same reason, session data should also not be
     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top