Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 941 for reversed (0.06 sec)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testReverse() {
        Ordering<Number> reverseOrder = numberOrdering.reverse();
        testComparator(reverseOrder, Integer.MAX_VALUE, 1, 0, -1, Integer.MIN_VALUE);
    
        new EqualsTester()
            .addEqualityGroup(reverseOrder, numberOrdering.reverse())
            .addEqualityGroup(Ordering.natural().reverse())
            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          List<String> list = asList(elements);
          Collections.reverse(list);
          return ImmutableList.copyOf(list).reverse();
        }
      }
    
      public static class ImmutableListHeadSubListGenerator extends TestStringListGenerator {
        @Override
        protected List<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

          assertEquals(expectedSpan, span);
        } catch (NoSuchElementException e) {
          assertNull(expectedSpan);
        }
    
        // test that asDescendingSetOfRanges is the reverse of asRanges
        assertEquals(Lists.reverse(asRanges), ImmutableList.copyOf(rangeSet.asDescendingSetOfRanges()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

            // The hardware is big-endian, so we need to reverse the order of the bytes.
            return Long.reverseBytes(bigEndian);
          }
    
          @Override
          public void putLongLittleEndian(byte[] array, int offset, long value) {
            // Reverse the order of the bytes before storing, since we're on big-endian hardware.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
    
            this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex);
            if ( this.bufDataStart == 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.castOrCopyToList;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Collections.reverse;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.DerivedCollectionGenerators.Bound;
    import com.google.common.collect.testing.DerivedCollectionGenerators.ForwardingTestMapGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            this.dataCompactionMode = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            this.dataLength = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                }
                this.delay = delay;
                reverse = compareTime(fromHours, fromMinutes, toHours, toMinutes) < 0;
            }
    
            public long getDelay() {
                return delay;
            }
    
            public boolean isTarget(final int hours, final int minutes, final int day) {
                if (!reverse) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocksProxy.kt

        if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
    
        val command = fromSource.readByte() and 0xff
    
        val reserved = fromSource.readByte() and 0xff
        if (reserved != 0) throw ProtocolException("unexpected reserved: $reserved")
    
        val addressType = fromSource.readByte() and 0xff
        val toAddress =
          when (addressType) {
            ADDRESS_TYPE_IPV4 -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. internal/grid/connection_test.go

    		for y := range hosts {
    			if x == y {
    				continue
    			}
    			c.Local = hosts[x]
    			c.Remote = hosts[y]
    			cReverse.Local = hosts[y]
    			cReverse.Remote = hosts[x]
    			if c.shouldConnect() == cReverse.shouldConnect() {
    				t.Errorf("shouldConnect(%q, %q) != shouldConnect(%q, %q)", hosts[x], hosts[y], hosts[y], hosts[x])
    			}
    			if c.shouldConnect() {
    				should++
    			}
    		}
    		if should < 10 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top