Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 183 for Merger (0.11 seconds)

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

        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TableCollectors.java

        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. .github/workflows/close-linked-issue-when-merged-into-release.yml

    name: Close linked issues when PR merged into release
    
    on:
      pull_request:
        types: [closed]
        branches:
          - release
          - release7x
          - release8x
    
    permissions:
      issues: write
    
    jobs:
      closeIssueOnPrMerge:
        runs-on: ubuntu-latest
        steps:
          - name: Closes issues related to a merged pull request.
            uses: ldez/gha-mjolnir@df0e84242364946fa3ad4e7556510e8086ad681a
            env:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jul 16 09:18:51 GMT 2025
    - 458 bytes
    - Click Count (0)
  4. CONTRIBUTING.md

    things you should know about contributing:
    
    1.  API changes require discussion, use cases, etc. Code comes later.
    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 17:53:05 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

      @StartStop
      private val server = MockWebServer()
    
      private val socksProxy = SocksProxy()
    
      @BeforeEach
      fun setUp() {
        socksProxy.play()
      }
    
      @AfterEach
      fun tearDown() {
        socksProxy.shutdown()
      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
        val client =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. mockwebserver/README.md

      // Shut down the server. Instances cannot be reused.
      server.close();
    }
    ```
    
    ### Kotlin
    ```kotlin
    fun test() {
      // Create a MockWebServer. These are lean enough that you can create a new
      // instance for every unit test.
      val server = MockWebServer()
    
      // Schedule some responses.
      server.enqueue(MockResponse(body = "hello, world!"))
      server.enqueue(MockResponse(body = "sup, bra?"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

              handshakeCertificates.trustManager,
            ).proxy(server.proxyAddress)
            .build()
    
        server.enqueue(
          MockResponse
            .Builder()
            .inTunnel()
            .build(),
        )
        server.enqueue(MockResponse())
    
        val call =
          client.newCall(
            Request(
              url =
                server
                  .url("/")
                  .newBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

      fun secondCallEventSequence() {
        enableTls()
        server.protocols = listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        client
          .newCall(Request(server.url("/")))
          .execute()
          .close()
    
        client
          .newCall(Request(server.url("/")))
          .execute()
          .close()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

      private val nullHostnameVerifier = HostnameVerifier { _: String?, _: SSLSession? -> true }
      private val cookieManager = CookieManager()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        server.protocolNegotiationEnabled = false
        val loggingFileSystem = LoggingFilesystem(fileSystem)
        cache = buildCache("/cache/".toPath(), Int.MAX_VALUE.toLong(), loggingFileSystem)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

      var client = clientTestRule.newClient()
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        platform.assumeOpenJSSE()
      }
    
      @Test
      fun testTlsv13Works() {
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
    
        val response = client.newCall(request).execute()
    
        response.use {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top