Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 139 for tryFind (0.03 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

      }
    
      public void testNullCloseable() throws IOException {
        Closer closer = Closer.create();
        closer.register(null);
        closer.close();
      }
    
      /**
       * Asserts that an exception was thrown when trying to close each of the given throwables and that
       * each such exception was suppressed because of the given thrown exception.
       */
      private void assertSuppressed(Suppression... expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/file.js

    n(b,f,g,h){if(c){var i=!0,j=f.get(0).files||[],k="",l=d(f);return j.length&&(a.each(j,function(b,c){return i=!1,k=c.type||c.name.substring(c.name.lastIndexOf(".")+1),a.each(l,function(a,b){if(i=k.indexOf(b)>-1)return!1}),i}),i||(a.formUtils.warn("Trying to upload a file with mime type "+k+" which is not allowed"),e(this,"wrongFileType",l.join(", "),h))),i}return a.formUtils.warn("FileReader not supported by browser, will check file extension"),a.formUtils.validators.validate_extension.validatorF...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            // This should not throw an exception
            TransCallNamedPipeResponse nullBufferResponse = new TransCallNamedPipeResponse(mockConfig, null);
            assertNotNull(nullBufferResponse);
    
            // But trying to read data should cause NullPointerException
            byte[] buffer = new byte[10];
            assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 5));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         */
        public static Path getEnvPath(final String envName, final String... names) {
            return getPath("WEB-INF/", "env/" + envName, names);
        }
    
        /**
         * Gets the path by trying multiple locations in order of preference.
         * First tries to get the real path from servlet context, then checks various
         * fallback locations including source and target directories.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            int offset = 10; // Only 10 bytes remaining, need 16
            SMBUtil.writeInt2(16, buffer, offset); // Write valid structure size
    
            // When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testReadDataWireFormatEmptyBuffer() {
                byte[] buffer = new byte[0];
    
                // Empty buffer causes ArrayIndexOutOfBoundsException when trying to read
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    response.readDataWireFormat(buffer, 0, 0);
                });
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/generate-clients.md

    client, it will error out if you have any **mismatch** in the data used.
    
    So, you would **detect many errors** very early in the development cycle instead of having to wait for the errors to show up to your final users in production and then trying to debug where the problem is. ✨...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                    extractFile(ent.getKey(), embeddedFile, writer);
                }
            }
        }
    
        /**
         * Gets the embedded file from a file specification, trying different platform-specific variants.
         * @param fileSpec the file specification
         * @return the embedded file, or null if not found
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. tensorflow/api_template_v1.__init__.py

    if not hasattr(_current_module, "__path__"):
      __path__ = [_tf_api_dir]
    elif _tf_api_dir not in __path__:
      __path__.append(_tf_api_dir)
    
    # Hook external TensorFlow modules.
    # Import compat before trying to import summary from tensorboard, so that
    # reexport_tf_summary can get compat from sys.modules. Only needed if using
    # lazy loading.
    _current_module.compat.v2  # pylint: disable=pointless-statement
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTreeTest.java

            assertSame(innerTree, inner, "Should return correct inner tree");
        }
    
        /**
         * Test for unwrap with incompatible type.
         * Verifies behavior when trying to unwrap to an incompatible type.
         */
        @Test
        void testUnwrap_incompatibleType() {
            when(smbTree.unwrap(IncompatibleTree.class)).thenReturn(null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top