Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 1,561 for Handle (0.06 seconds)

  1. docs/en/docs/tutorial/cookie-params.md

    ///
    
    /// info
    
    To declare cookies, you need to use `Cookie`, because otherwise the parameters would be interpreted as query parameters.
    
    ///
    
    /// info
    
    Have in mind that, as **browsers handle cookies** in special ways and behind the scenes, they **don't** easily allow **JavaScript** to touch them.
    
    If you go to the **API docs UI** at `/docs` you will be able to see the **documentation** for cookies for your *path operations*.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 17:49:27 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_experimental_test.cc

      ASSERT_EQ(device_type, nullptr);
      ASSERT_EQ("Invalid handle", string(TF_Message(status.get())));
    
      TF_SetStatus(status.get(), TF_OK, "");
    
      int device_id = TFE_TensorHandleDeviceID(h, status.get());
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
      ASSERT_EQ(device_id, -1);
      ASSERT_EQ("Invalid handle", string(TF_Message(status.get())));
    }
    
    TEST(CAPI, TensorHandleDevices) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/SmbWatchHandle.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    import java.util.List;
    import java.util.concurrent.Callable;
    
    /**
     * Handle for receiving change notifications from an SMB server
     *
     *
     * @author mbechler
     *
     */
    public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     */
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public static <V extends @Nullable Object> ListenableFuture<V> catching(
          ListenableFuture<? extends V> input,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java

                        new TransferResource(null, null, "http://maven.org/test/test-resource", new File("file"), null);
                DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    
                // for technical reasons we cannot throw here, even if delegate does cancel transfer
                listener.transferInitiated(event(session, resource, TransferEvent.EventType.INITIATED));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

         */
        public static boolean canCacheEnumeration(int state) {
            return Smb2LeaseState.hasReadCaching(state);
        }
    
        /**
         * Check if directory can keep handles open
         * @param state lease state
         * @return true if directory handles can be kept open
         */
        public static boolean canKeepHandlesOpen(int state) {
            return Smb2LeaseState.hasHandleCaching(state);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            byte[] buffer = new byte[512];
            int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    
            // Should handle special characters properly
            assertTrue(written > specialPath.length());
    
            // Check information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/AddressTest.java

            assertSame(expectedInetAddress, inetAddress, "Should return configured InetAddress");
            assertNotNull(inetAddress, "InetAddress should not be null");
        }
    
        @Test
        @DisplayName("toInetAddress should handle UnknownHostException")
        void testToInetAddressWithException() throws UnknownHostException {
            // Given
            when(mockAddress.toInetAddress()).thenThrow(new UnknownHostException("Host not found"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            // Then
            assertNotNull(ex);
            assertEquals(message, ex.getMessage());
            assertEquals(cause, ex.getCause());
        }
    
        @Test
        @DisplayName("Should handle null message and/or cause without throwing")
        void testNullInputs() {
            assertDoesNotThrow(() -> {
                SpnegoException ex1 = new SpnegoException((String) null);
                assertNotNull(ex1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

            }
    
            @Override
            public void forEach(final ClassHandler handler) {
                ClassTraversalUtil.forEach(baseDir, rootPackage, handler);
            }
    
            @Override
            public void forEach(final ResourceHandler handler) {
                ResourceTraversalUtil.forEach(baseDir, rootDir, handler);
            }
    
            @Override
            public void close() {
            }
    
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top