Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,176 for inte (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertEquals(response.getTreeId(), response.getTid());
        }
    
        /**
         * Helper method to create a valid response buffer
         */
        private byte[] createValidResponseBuffer(int shareType, int shareFlags, int capabilities, int maxAccess) {
            byte[] buffer = new byte[256];
            SMBUtil.writeInt2(16, buffer, 0);
            buffer[2] = (byte) shareType;
            buffer[3] = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. cmd/bucket-stats.go

    type ReplicationLatency struct {
    	// Single & Multipart PUTs latency
    	UploadHistogram LastMinuteHistogram
    }
    
    // Merge two replication latency into a new one
    func (rl ReplicationLatency) merge(other ReplicationLatency) (newReplLatency ReplicationLatency) {
    	newReplLatency.UploadHistogram = rl.UploadHistogram.Merge(other.UploadHistogram)
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RangeMap.java

       * such as {@link Collection} types is discouraged.
       *
       * @since 22.0
       */
      void putCoalescing(Range<K> range, V value);
    
      /** Puts all the associations from {@code rangeMap} into this range map (optional operation). */
      void putAll(RangeMap<K, ? extends V> rangeMap);
    
      /** Removes all associations from this range map (optional operation). */
      void clear();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @return the number of bytes actually read
         * @throws IOException if an I/O error occurs
         */
        public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException {
            int i = 0, n = -5;
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. cmd/api-headers.go

    		w.Header().Set(xhttp.AmzBucketRegion, region)
    	}
    	w.Header().Set(xhttp.AcceptRanges, "bytes")
    
    	// Remove sensitive information
    	crypto.RemoveSensitiveHeaders(w.Header())
    }
    
    // Encodes the response headers into XML format.
    func encodeResponse(response any) []byte {
    	var buf bytes.Buffer
    	buf.WriteString(xml.Header)
    	if err := xml.NewEncoder(&buf).Encode(response); err != nil {
    		bugLogIf(GlobalContext, err)
    		return nil
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

                assertEquals(-10L, mock.length());
            }
        }
    
        @ParameterizedTest(name = "getType returns {0}")
        @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE })
        @DisplayName("Parameterized type values")
        void typeParameterized(int type) {
            FileEntry mock = mock(FileEntry.class);
            when(mock.getType()).thenReturn(type);
            assertEquals(type, mock.getType());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapRemoveEntryTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            for (int i = 0; i < size; i++) {
              keys[i] = rng.nextInt();
            }
            return createTreap(Ints.asList(keys));
          }
    
          // See http://en.wikipedia.org/wiki/Treap for details on the algorithm.
          private Optional<BinaryNode> createTreap(List<Integer> keys) {
            if (keys.isEmpty()) {
              return Optional.absent();
            }
            int minIndex = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

        val bit = 1 shl MAX_CONCURRENT_STREAMS
        return if (bit and set != 0) values[MAX_CONCURRENT_STREAMS] else Int.MAX_VALUE
      }
    
      fun getMaxFrameSize(defaultValue: Int): Int {
        val bit = 1 shl MAX_FRAME_SIZE
        return if (bit and set != 0) values[MAX_FRAME_SIZE] else defaultValue
      }
    
      fun getMaxHeaderListSize(defaultValue: Int): Int {
        val bit = 1 shl MAX_HEADER_LIST_SIZE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        }
    
        @ParameterizedTest
        @DisplayName("getPipeType echoes constructor input (edge values)")
        @ValueSource(ints = { 0, SmbPipeResource.PIPE_TYPE_RDONLY, SmbPipeResource.PIPE_TYPE_WRONLY, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT })
        void getPipeTypeEchoesInput(int pipeType) throws Exception {
            // Arrange & Act
            SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", pipeType, ctx());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top