Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,922 for try (0.04 sec)

  1. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

        } // -- void setAddDefaultEntities( boolean )
    
        protected Model read(Reader reader, boolean strict, InputSource source) throws IOException, XmlPullParserException {
            try {
                org.apache.maven.api.model.Model model =
                        delegate.read(reader, strict, source != null ? source.toApiSource() : null);
                return new Model(model);
            } catch (XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        try {
          multiset.add(entry.getElement(), entry.getCount());
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          multiset.add(entry.getElement());
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
    
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          stopwatch.start();
          V previousValue;
          try {
            previousValue = oldValue.waitForValue();
          } catch (ExecutionException e) {
            previousValue = null;
          }
          V newValue;
          try {
            newValue = function.apply(key, previousValue);
          } catch (Throwable th) {
            this.setException(th);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/websockets.md

    In your WebSocket route you can `await` for messages and send messages.
    
    ```Python hl_lines="48-52"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it
    
    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/api_template_v1.__init__.py

    # does not have "python", "core" directories. Then, it will be copied
    # to tensorflow/ which does have these two directories.
    
    try:
      del python
    except NameError:
      pass
    try:
      del core
    except NameError:
      pass
    try:
      del compiler
    except NameError:
      pass
    
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals(0, sb2.length());
    
        try {
          joiner.appendTo(NASTY_APPENDABLE, set);
        } catch (IOException e) {
          throw new AssertionError(e);
        }
    
        try {
          joiner.appendTo(NASTY_APPENDABLE, set.iterator());
        } catch (IOException e) {
          throw new AssertionError(e);
        }
    
        try {
          joiner.appendTo(NASTY_APPENDABLE, array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/context/BaseContext.java

         * {@inheritDoc}
         * 
         * @throws CIFSException
         * 
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get ( String url ) throws CIFSException {
            try {
                return new SmbFile(url, this);
            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    ) : Http2Connection.Listener() {
      private fun run() {
        val serverSocket = ServerSocket(8888)
        serverSocket.reuseAddress = true
        while (true) {
          var socket: Socket? = null
          try {
            socket = serverSocket.accept()
            val sslSocket = doSsl(socket)
            val protocolString = Platform.get().getSelectedProtocol(sslSocket)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                      assertEquals(v3(), newV);
                      return null;
                    }));
        expectMissing(e0());
      }
    
      public void testMergeNullValue() {
        try {
          getMap()
              .merge(
                  k0(),
                  null,
                  (oldV, newV) -> {
                    throw new AssertionFailedError("Should not call merge function if value was null");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top