Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3341 - 3350 of 6,918 for RETURN (0.04 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                    }
                }
            }
            return null;
        }
    
        private static String mayGetChild(XmlNode node, String child) {
            XmlNode c = node.getChild(child);
            if (c != null) {
                return c.getValue();
            }
            return null;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. internal/grid/connection_test.go

    		t.Log("1: server payload: ", len(payload), "bytes.")
    		return append([]byte{}, payload...), nil
    	}))
    	// 2: Return as error
    	errFatal(local.RegisterSingleHandler(handlerTest2, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("2: server payload: ", len(payload), "bytes.")
    		err := RemoteErr(payload)
    		return nil, &err
    	}))
    
    	remote, err := NewManager(context.Background(), ManagerOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. build.gradle.kts

    subprojects {
      val project = this@subprojects
      if (project.name == "okhttp-bom") return@subprojects
    
      if (project.name == "okhttp-android") return@subprojects
      if (project.name == "android-test") return@subprojects
      if (project.name == "regression-test") return@subprojects
      if (project.name == "android-test-app") return@subprojects
      if (project.name == "container-tests") return@subprojects
    
      apply(plugin = "checkstyle")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        public Entry<Country, String>[] createArray(int length) {
          return (Entry<Country, String>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<Country, String>> order(List<Entry<Country, String>> insertionOrder) {
          return insertionOrder;
        }
    
        @Override
        public Country[] createKeyArray(int length) {
          return new Country[length];
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/metrics-realtime.go

    			}
    		}
    
    		metrics[d.Endpoint] = dm
    	}
    	return metrics
    }
    
    func collectRemoteMetrics(ctx context.Context, types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) {
    	if !globalIsDistErasure {
    		return
    	}
    	all := globalNotificationSys.GetMetrics(ctx, types, opts)
    	for _, remote := range all {
    		m.Merge(&remote)
    	}
    	return m
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Route.kt

       * [rfc_2817]: http://www.ietf.org/rfc/rfc2817.txt
       */
      fun requiresTunnel(): Boolean {
        if (proxy.type() != Proxy.Type.HTTP) return false
        return (address.sslSocketFactory != null) ||
          (Protocol.H2_PRIOR_KNOWLEDGE in address.protocols)
      }
    
      override fun equals(other: Any?): Boolean {
        return other is Route &&
          other.address == address &&
          other.proxy == proxy &&
          other.socketAddress == socketAddress
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         * which the settings were read.
         *
         * @return the hint about the source of the problem or an empty string if unknown, never {@code null}
         */
        @Nonnull
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/FaultHidingSink.kt

        source: Buffer,
        byteCount: Long,
      ) {
        if (hasErrors) {
          source.skip(byteCount)
          return
        }
        try {
          super.write(source, byteCount)
        } catch (e: IOException) {
          hasErrors = true
          onException(e)
        }
      }
    
      override fun flush() {
        if (hasErrors) {
          return
        }
        try {
          super.flush()
        } catch (e: IOException) {
          hasErrors = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
      fun readHeaders(): Headers {
        val result = Headers.Builder()
        while (true) {
          val line = readLine()
          if (line.isEmpty()) break
          result.addLenient(line)
        }
        return result.build()
      }
    
      companion object {
        private const val HEADER_LIMIT = 256 * 1024
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. fastapi/background.py

    
        @app.post("/send-notification/{email}")
        async def send_notification(email: str, background_tasks: BackgroundTasks):
            background_tasks.add_task(write_notification, email, message="some notification")
            return {"message": "Notification sent in the background"}
        ```
        """
    
        def add_task(
            self,
            func: Annotated[
                Callable[P, Any],
                Doc(
                    """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top