Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 3,402 for rint (0.2 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

     *
     * TODO not happy about the store method - they use "this"
     */
    @Deprecated
    public interface RepositoryMetadata extends org.apache.maven.artifact.metadata.ArtifactMetadata {
    
        int RELEASE = 1;
    
        int SNAPSHOT = 2;
    
        int RELEASE_OR_SNAPSHOT = RELEASE | SNAPSHOT;
    
        /**
         * Get the repository the metadata was located in.
         *
         * @return the repository
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/OplockTests.java

                    int flags = SmbConstants.O_CREAT;
                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
                    int access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.FILE_WRITE_ATTRIBUTES
                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
                    int options = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

         */
        public void setTargetName ( String targetName ) {
            this.targetName = targetName;
        }
    
    
        @Override
        public byte[] initSecContext ( byte[] token, int offset, int len ) throws SmbException {
            switch ( this.state ) {
            case 1:
                return makeNegotiate(token);
            case 2:
                return makeAuthenticate(token);
            default:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      @Override
      public int drainTo(Collection<? super E> c, int maxElements) {
        if (c == null) throw new NullPointerException();
        if (c == this) throw new IllegalArgumentException();
        if (maxElements <= 0) return 0;
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          int n = 0;
          E e;
          while (n < maxElements && (e = q.poll()) != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      private static void runTestFuzzyCompare(int toleranceIndex) {
        double tolerance = get(TOLERANCE_CANDIDATES, toleranceIndex);
        for (double a : ALL_DOUBLE_CANDIDATES) {
          for (double b : ALL_DOUBLE_CANDIDATES) {
            int expected = DoubleMath.fuzzyEquals(a, b, tolerance) ? 0 : Double.compare(a, b);
            int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  6. istioctl/pkg/util/formatting/formatter.go

    )
    
    func init() {
    	for _, key := range MsgOutputFormatKeys {
    		MsgOutputFormats[key] = true
    	}
    }
    
    // Print output messages in the specified format with color options
    func Print(ms diag.Messages, format string, colorize bool) (string, error) {
    	switch format {
    	case LogFormat:
    		return printLog(ms, colorize), nil
    	case JSONFormat:
    		return printJSON(ms)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 11 02:41:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/dummy-data-generator_test.go

    		b:      b,
    	}
    }
    
    func (d *DummyDataGen) Read(b []byte) (n int, err error) {
    	k := len(b)
    	numLetters := int64(len(d.b))
    	for k > 0 && d.idx < d.length {
    		w := copy(b[len(b)-k:], d.b[d.idx%numLetters:])
    		k -= w
    		d.idx += int64(w)
    		n += w
    	}
    	if d.idx >= d.length {
    		extraBytes := d.idx - d.length
    		n -= int(extraBytes)
    		if n < 0 {
    			n = 0
    		}
    		err = io.EOF
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      @Override
      @SuppressWarnings("unchecked")
      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
        assertEquals(0x003300, (int) webSafeColorArray[6]);
        assertEquals(0x330000, (int) webSafeColorArray[36]);
        assertEquals(0x000066, (int) webSafeColors.get(2));
        assertEquals(0x003300, (int) webSafeColors.get(6));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableRangeSet.java

        } else {
          toIndex = ranges.size();
        }
        final int length = toIndex - fromIndex;
        if (length == 0) {
          return ImmutableList.of();
        } else {
          return new ImmutableList<Range<C>>() {
            @Override
            public int size() {
              return length;
            }
    
            @Override
            public Range<C> get(int index) {
              checkElementIndex(index, length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top