Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 415 for 01 (0.04 sec)

  1. src/archive/tar/strconv_test.go

    		}
    	}
    }
    
    func TestFitsInOctal(t *testing.T) {
    	vectors := []struct {
    		input int64
    		width int
    		ok    bool
    	}{
    		{-1, 1, false},
    		{-1, 2, false},
    		{-1, 3, false},
    		{0, 1, true},
    		{0 + 1, 1, false},
    		{0, 2, true},
    		{07, 2, true},
    		{07 + 1, 2, false},
    		{0, 4, true},
    		{0777, 4, true},
    		{0777 + 1, 4, false},
    		{0, 8, true},
    		{07777777, 8, true},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
            int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Doubles.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
        assertThat(Doubles.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Doubles.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(
                Arrays.equals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
        assertThat(Bytes.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Bytes.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Bytes.ensureCapacity(ARRAY1, 2, 1))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        Comparator<Integer> c = Ordering.explicit(0);
        assertEquals(0, c.compare(0, 0));
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(0, 1));
        assertEquals(1, expected.value);
        reserializeAndAssert(c);
        assertEquals("Ordering.explicit([0])", c.toString());
      }
    
      public void testExplicitMax_b297601553() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

        Comparator<Integer> c = Ordering.explicit(0);
        assertEquals(0, c.compare(0, 0));
        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(0, 1));
        assertEquals(1, expected.value);
        reserializeAndAssert(c);
        assertEquals("Ordering.explicit([0])", c.toString());
      }
    
      public void testExplicitMax_b297601553() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    func (s *ScanRange) StartLen() (start, length int64, err error) {
    	if s == nil {
    		return 0, -1, nil
    	}
    	err = s.Validate()
    	if err != nil {
    		return 0, 0, err
    	}
    
    	if s.End == nil && s.Start == nil {
    		// Not valid, but should be caught above.
    		return 0, -1, nil
    	}
    	if s.End == nil {
    		start := int64(*s.Start)
    		if start < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/BooleansTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Booleans.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
        assertThat(Booleans.ensureCapacity(ARRAY_FALSE, 0, 1)).isSameInstanceAs(ARRAY_FALSE);
        assertThat(Booleans.ensureCapacity(ARRAY_FALSE, 1, 1)).isSameInstanceAs(ARRAY_FALSE);
        assertThat(Booleans.ensureCapacity(new boolean[] {true}, 2, 1))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId( "org.apache.maven.its" );
            exclusion.setArtifactId( "a" );
    
            new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME,
                                                         exclusion );
    
            Set<Artifact> artifactDependencies =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
          return checkedCreate(set).subSet(tooLow + 1, tooHigh);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top