Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 119 for unreachable (0.25 sec)

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

       * appear in this multimap.
       */
      @Override
      public ImmutableSet<K> keySet() {
        return map.keySet();
      }
    
      @Override
      Set<K> createKeySet() {
        throw new AssertionError("unreachable");
      }
    
      /**
       * Returns an immutable map that associates each key with its corresponding values in the
       * multimap. Keys and values appear in the same order as in this multimap.
       */
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("when_condition_unreachable.kt")
      public void testWhen_condition_unreachable() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_condition_unreachable.kt");
      }
    
      @Test
      @TestMetadata("when_subject.kt")
      public void testWhen_subject() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 27 20:30:06 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    		if len(line) > 0 && line[len(line)-1] == '\r' {
    			// Put the '\r' back on buf and drop it from line.
    			// Let the next call to ReadLine check for "\r\n".
    			if b.r == 0 {
    				// should be unreachable
    				panic("bufio: tried to rewind past start of buffer")
    			}
    			b.r--
    			line = line[:len(line)-1]
    		}
    		return line, true, nil
    	}
    
    	if len(line) == 0 {
    		if err != nil {
    			line = nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .addInterceptor(interceptor1)
            .addInterceptor(interceptor2)
            .build()
        val request1 =
          Request.Builder()
            .url("http://" + TestUtil.UNREACHABLE_ADDRESS_IPV4)
            .build()
        val call = client.newCall(request1)
        val startNanos = System.nanoTime()
        assertFailsWith<SocketTimeoutException> {
          call.execute()
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Configure this client to retry or not when a connectivity problem is encountered. By default,
         * this client silently recovers from the following problems:
         *
         * * **Unreachable IP addresses.** If the URL's host has multiple IP addresses,
         *   failure to reach any individual IP address doesn't fail the overall request. This can
         *   increase availability of multi-homed services.
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Collections2.java

            if (comparator.compare(ak, nextPermutation.get(l)) < 0) {
              return l;
            }
          }
          throw new AssertionError("this statement should be unreachable");
        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

      /** https://github.com/square/okhttp/issues/442  */
      @Test
      fun tlsTimeoutsNotRetried() {
        enableTls()
        server.enqueue(MockResponse(socketPolicy = NoResponse))
        server.enqueue(MockResponse(body = "unreachable!"))
        client =
          client.newBuilder()
            .readTimeout(Duration.ofMillis(100))
            .build()
        val request = Request.Builder().url(server.url("/")).build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    	case *types.Chan:
    		var s string
    		switch typ.Dir() {
    		case types.SendOnly:
    			s = "chan<- "
    		case types.RecvOnly:
    			s = "<-chan "
    		case types.SendRecv:
    			s = "chan "
    		default:
    			panic("unreachable")
    		}
    		buf.WriteString(s)
    		w.writeType(buf, typ.Elem())
    
    	case *types.Alias:
    		w.writeType(buf, types.Unalias(typ))
    
    	case *types.Named:
    		obj := typ.Obj()
    		pkg := obj.Pkg()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * they will be absent (unless they were already returned).
       *
       * If there are I/O problems during iteration, this iterator fails silently. For example, if the
       * hosting filesystem becomes unreachable, the iterator will omit elements rather than throwing
       * exceptions.
       *
       * **The caller must [close][Snapshot.close]** each snapshot returned by [Iterator.next]. Failing
       * to do so leaks open files!
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  10. docs/recipes.md

            }
          }
        ```
    
    ### Timeouts ([.kt][ConfigureTimeoutsKotlin], [.java][ConfigureTimeoutsJava])
    
    Use timeouts to fail a call when its peer is unreachable. Network partitions can be due to client connectivity problems, server availability problems, or anything between. OkHttp supports connect, write, read, and full call timeouts.
    
    === ":material-language-kotlin: Kotlin"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
Back to top