Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 752 for calcs (0.05 seconds)

  1. guava/src/com/google/common/collect/AbstractIterator.java

       * there are no elements left in the iteration. Failure to do so could result in an infinite loop.
       *
       * <p>The initial invocation of {@link #hasNext()} or {@link #next()} calls this method, as does
       * the first invocation of {@code hasNext} or {@code next} following each successful call to
       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbNamedPipe.java

    import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse;
    
    /**
     * This class will allow a Java program to read and write data to Named
     * Pipes and Transact NamedPipes.
     *
     * <p>
     * There are three Win32 function calls provided by the Windows SDK
     * that are important in the context of using jCIFS. They are:
     *
     * <ul>
     * <li><code>CallNamedPipe</code> A message-type pipe call that opens,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. internal/config/lambda/target/webhook.go

    		return false, err
    	}
    	xhttp.DrainBody(resp.Body)
    	// No network failure i.e response from the target means its up
    	return true, nil
    }
    
    // Stat - returns lambda webhook target statistics such as
    // current calls in progress, successfully completed functions
    // failed functions.
    func (target *WebhookTarget) Stat() event.TargetStat {
    	return event.TargetStat{
    		ID:             target.id,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 08 21:39:49 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putLong(1000L);
                buffer.putInt(4);
                buffer.putInt(1024);
    
                // When
                fileFsSizeInfo.decode(buffer.array(), 0, 24);
    
                // Then - multiple calls should return same values
                assertEquals(2000L * 4 * 1024, fileFsSizeInfo.getCapacity());
                assertEquals(2000L * 4 * 1024, fileFsSizeInfo.getCapacity());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      private static Function<Integer, Integer> newOneTimeExceptionThrower() {
        return new Function<Integer, Integer>() {
          int calls = 0;
    
          @Override
          public Integer apply(Integer from) {
            if (++calls > 1) {
              fail();
            }
            throw new SomeUncheckedException();
          }
        };
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      private static Function<Integer, Integer> newOneTimeExceptionThrower() {
        return new Function<Integer, Integer>() {
          int calls = 0;
    
          @Override
          public Integer apply(Integer from) {
            if (++calls > 1) {
              fail();
            }
            throw new SomeUncheckedException();
          }
        };
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        @Test
        @DisplayName("Should handle multiple close() calls gracefully")
        void testMultipleCloseCallsSafe() {
            // Given
            Smb2EncryptionContext closeableContext = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_CCM,
                    DialectVersion.SMB302, testEncryptionKey, testDecryptionKey);
    
            // When/Then - Multiple close calls should not throw
            assertDoesNotThrow(() -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          // The requireNonNull calls are safe because we construct the indexes with indexMap.
          int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            response.readDataWireFormat(buffer, 0, buffer.length);
    
            SecurityDescriptor sd = response.getSecurityDescriptor();
            assertNotNull(sd);
    
            // Verify it's the same instance on subsequent calls
            SecurityDescriptor sd2 = response.getSecurityDescriptor();
            assertSame(sd, sd2);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with zero length buffer")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
            when(delegate.next()).thenReturn(fileEntry);
    
            TestIterator iterator = new TestIterator(null);
    
            // Verify iteration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top