Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for propagated (0.05 sec)

  1. guava/src/com/google/common/base/SneakyThrows.java

       * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by
       * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such a
       * method propagate untouched, just as we'd typically let it do for a non-reflective call.
       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(0, testMessage.getTreeId());
                testMessage.setTreeId(123);
                assertEquals(123, testMessage.getTreeId());
            }
    
            @Test
            @DisplayName("Should propagate tree ID to chained message")
            void testTreeIdPropagation() {
                TestServerMessageBlock2 nextMessage = new TestServerMessageBlock2(mockConfig);
                testMessage.chain(nextMessage);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/AddressTest.java

            // When & Then
            assertThrows(UnknownHostException.class, () -> {
                mockAddress.toInetAddress();
            }, "Should propagate UnknownHostException");
        }
    
        @Test
        @DisplayName("firstCalledName should return valid name for session establishment")
        void testFirstCalledNameContract() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileFilterTest.java

            assertTrue(filter.accept(smbFile), "Positive size should be accepted");
            verify(smbFile, times(1)).length();
            verifyNoMoreInteractions(smbFile);
        }
    
        @Test
        @DisplayName("accept: propagates SmbException thrown by dependency")
        void accept_propagatesSmbException() throws Exception {
            // Arrange: filter delegates to isDirectory which may throw SmbException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. cmd/update.go

    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    
    	return err == nil
    }
    
    // IsDCOS returns true if minio is running in DCOS.
    func IsDCOS() bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status)
        TF_LOCKS_EXCLUDED(session->graph->mu, session->mu);
    
    std::string getTF_OutputDebugString(TF_Output node);
    
    // Set whether to propagate assigned device information when constructing a new
    // Graph from a GraphDef. By default assigned device information is not copied
    // and is re-computed by the runtime.
    inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec(
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // Then: Should call sendrecv with bind message
                verify(spyHandle).sendrecv(any(DcerpcMessage.class));
            }
    
            @Test
            @DisplayName("Should propagate IOException during bind")
            void testBindIOException() throws DcerpcException, IOException {
                // Given: Spy that throws IOException on sendrecv
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

      private static final LazyLogger logger = new LazyLogger(AggregateFuture.class);
    
      /**
       * The input futures. After {@link #init}, this field is read only by {@link #afterDone()} (to
       * propagate cancellation) and {@link #toString()}. To access the futures' <i>values</i>, {@code
       * AggregateFuture} attaches listeners that hold references to one or more inputs. And in the case
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                when(mockSmbPipeHandleInternal.getSessionKey()).thenReturn(expectedKey);
                assertArrayEquals(expectedKey, handle.getSessionKey());
            }
    
            @Test
            @DisplayName("Should propagate CIFSException when getting session key")
            void testGetSessionKey_ThrowsCIFSException() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosFileFilterTest.java

            // Then it should be rejected because the ARCHIVE attribute is not present
            assertFalse(dosFileFilter.accept(mockFile));
        }
    
        /**
         * Tests that the accept method correctly propagates SmbException when
         * {@link SmbFile#getAttributes()} throws it.
         * @throws SmbException if an SMB error occurs.
         */
        @Test
        void testAccept_ThrowsSmbException() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top