Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 254 for consumers (0.05 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertDoesNotThrow(() -> concreteImplementation.fixupDomain(domain));
            }
    
            @Test
            @DisplayName("Should strip path consumed")
            void testStripPathConsumed() {
                int consumedAmount = 5;
    
                // Test with mock
                doNothing().when(mockReferralData).stripPathConsumed(consumedAmount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Verify
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode returns correct bytes consumed")
        void testDecodeBytesConsumed() throws SMBProtocolDecodingException {
            // Prepare test data
            String filename = "testfile.txt";
            byte[] buffer = createValidBuffer(filename, "TESTFI~1.TXT", true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/StatsAccumulator.java

       */
      public void addAll(long... values) {
        for (long value : values) {
          add(value);
        }
      }
    
      /**
       * Adds the given values to the dataset. The stream will be completely consumed by this method.
       *
       * @param values a series of values
       * @since 33.4.0 (but since 28.2 in the JRE flavor)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multimaps.java

          return CollectSpliterators.map(multimap.entries().spliterator(), Map.Entry::getKey);
        }
    
        @Override
        public void forEach(Consumer<? super K> consumer) {
          checkNotNull(consumer);
          multimap.entries().forEach(entry -> consumer.accept(entry.getKey()));
        }
    
        @Override
        int distinctElements() {
          return multimap.asMap().size();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

             */
            BUILD_EFFECTIVE,
            /**
             * The request is used specifically to parse the POM used as a basis for creating the consumer POM.
             * This POM will not undergo any profile activation.
             */
            BUILD_CONSUMER,
            /**
             * The request is for building a model from a parent POM file from a downloaded artifact.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 20:54:22 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

          closer.close();
        }
      }
    
      /**
       * Reads the contents of this byte source using the given {@code processor} to process bytes as
       * they are read. Stops when all bytes have been read or the consumer returns {@code false}.
       * Returns the result produced by the processor.
       *
       * @throws IOException if an I/O error occurs while reading from this source or if {@code
       *     processor} throws an {@code IOException}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              // The cache cannot be written.
            }
          }
        }
    
        return response
      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SSPContextTest.java

                // Only stub supportsIntegrity - isEstablished won't be called due to short-circuit
                when(mockCtx.supportsIntegrity()).thenReturn(false);
    
                // A small consumer that only uses MIC if advertised as available
                byte[] data = new byte[] { 1, 2 };
                if (mockCtx.supportsIntegrity() && mockCtx.isEstablished()) {
                    mockCtx.calculateMIC(data);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Stats.java

        accumulator.addAll(values);
        return accumulator.snapshot();
      }
    
      /**
       * Returns statistics over a dataset containing the given values. The iterator will be completely
       * consumed by this method.
       *
       * @param values a series of values, which will be converted to {@code double} values (this may
       *     cause loss of precision)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
       * [reader]. For example, if the reader's peeked tag isn't readable by this adapter, it may return
       * a default value.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top