Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 679 for MIN (0.18 seconds)

  1. guava-tests/test/com/google/common/base/StopwatchTest.java

        assertThat(stopwatch.toString()).isEqualTo("5.000 s");
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
        assertThat(stopwatch.toString()).isEqualTo("1.500 min");
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (2.5 * 60 * 60 * 1000000000L));
        assertThat(stopwatch.toString()).isEqualTo("2.500 h");
        stopwatch.reset();
        stopwatch.start();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      @GwtIncompatible
      public void testMin_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> min());
      }
    
      public void testMin() {
        assertThat(min(LEAST)).isEqualTo(LEAST);
        assertThat(min(GREATEST)).isEqualTo(GREATEST);
        assertThat(min((short) 8, (short) 6, (short) 7, (short) 5, (short) 3, (short) 0, (short) 9))
            .isEqualTo((short) 0);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/RegularContiguousSet.java

        if (other.isEmpty()) {
          return other;
        } else {
          C lowerEndpoint = Ordering.<C>natural().max(this.first(), other.first());
          C upperEndpoint = Ordering.<C>natural().min(this.last(), other.last());
          return (lowerEndpoint.compareTo(upperEndpoint) <= 0)
              ? ContiguousSet.create(Range.closed(lowerEndpoint, upperEndpoint), domain)
              : new EmptyContiguousSet<C>(domain);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // When/Then
            assertDoesNotThrow(() -> {
                PropertyConfiguration testConfig = new PropertyConfiguration(props);
                // Configuration should handle inconsistent min/max versions
                assertNotNull(testConfig.getMinimumVersion());
                assertNotNull(testConfig.getMaximumVersion());
            });
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            dc_list_expiration = now + 1000 * 60 * 15; /* 15 min */
                            if (LogStream.level >= 2) {
                                SmbTransport.log.println("Failed to retrieve DC list from WINS");
                            }
                        }
                    }
    
                    final int max = Math.min(dc_list.length, LOOKUP_RESP_LIMIT);
                    for (int j = 0; j < max; j++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/FileEntryTest.java

                    Arguments.of((LongGetter) FileEntry::lastAccess, 0L, "zero lastAccess"),
                    Arguments.of((LongGetter) FileEntry::lastAccess, Long.MIN_VALUE, "min lastAccess"),
    
                    Arguments.of((LongGetter) FileEntry::length, -100L, "negative length"),
                    Arguments.of((LongGetter) FileEntry::length, 0L, "zero length"),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

            } else if (hours > 0) {
                return String.format("%02d:%02d h", hours, minutes);
            } else if (minutes > 0) {
                return String.format("%02d:%02d min", minutes, seconds);
            } else {
                return String.format("%d.%03d s", seconds, millis);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 10 15:37:54 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. cmd/httprange.go

    	switch {
    	case resourceSize < 0:
    		return 0, errors.New("Resource size cannot be negative")
    
    	case h == nil:
    		rangeLength = resourceSize
    
    	case h.IsSuffixLength:
    		specifiedLen := -h.Start
    		rangeLength = min(specifiedLen, resourceSize)
    
    	case h.Start >= resourceSize:
    		return 0, InvalidRange{
    			OffsetBegin:  h.Start,
    			OffsetEnd:    h.End,
    			ResourceSize: resourceSize,
    		}
    
    	case h.End > -1:
    		end := h.End
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.hash;
    
    import static java.lang.Math.min;
    
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.primitives.Longs;
    import java.lang.reflect.Field;
    import java.nio.ByteOrder;
    import java.security.AccessController;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. internal/ringbuffer/ring_buffer.go

    }
    
    func (r *RingBuffer) read(p []byte) (n int, err error) {
    	if r.w == r.r && !r.isFull {
    		return 0, ErrIsEmpty
    	}
    
    	if r.w > r.r {
    		n = min(r.w-r.r, len(p))
    		copy(p, r.buf[r.r:r.r+n])
    		r.r = (r.r + n) % r.size
    		return n, err
    	}
    
    	n = min(r.size-r.r+r.w, len(p))
    
    	if r.r+n <= r.size {
    		copy(p, r.buf[r.r:r.r+n])
    	} else {
    		c1 := r.size - r.r
    		copy(p, r.buf[r.r:r.size])
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top