Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 3,940 for myobject (0.11 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
      @J2ObjCIncompatible // gc
      @AndroidIncompatible
      public void testCancellationWithReferencedObject() throws Exception {
        Object toBeGCed = new Object();
        WeakReference<Object> ref = new WeakReference<>(toBeGCed);
        final SettableFuture<@Nullable Void> settableFuture = SettableFuture.create();
        ListenableFuture<?> ignored =
            serializer.submitAsync(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. licenses/github.com/containerd/typeurl/v2/LICENSE

          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
          and conversions to other media types.
    
          "Work" shall mean the work of authorship, whether in Source or
          Object form, made available under the License, as indicated by a
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 24 18:16:35 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      }
    
      public void testUnhashableMixedValues() {
        SampleElements<UnhashableObject> unhashables = new Unhashables();
        Multimap<Integer, Object> multimap =
            ImmutableMultimap.<Integer, Object>of(
                0, unhashables.e0(), 2, "hey you", 0, unhashables.e1());
        assertEquals(2, multimap.get(0).size());
        assertTrue(multimap.get(0).contains(unhashables.e0()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NodeStatusResponse.java

                isPermanent = ( ( src[ srcIndex + 16 ] & 0x02 ) == 0x02 ) ? true : false;
    
                /*
                 * The NbtAddress object used to query this node will be in the list
                 * returned by the Node Status. A new NbtAddress object should not be
                 * created for it because the original is potentially being actively
                 * referenced by other objects. We must populate the existing object's
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.enqueue(
          MockResponse.Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val e = RuntimeException()
        clientListener.setNextEventDelegate(
          object : WebSocketListener() {
            override fun onOpen(
              webSocket: WebSocket,
              response: Response,
            ) {
              throw e
            }
          },
        )
        newWebSocket()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @return an array containing all of the elements in this queue
       */
      @CanIgnoreReturnValue
      @Override
      public Object[] toArray() {
        final E[] items = this.items;
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          Object[] a = new Object[count];
          int k = 0;
          int i = takeIndex;
          while (k < count) {
            a[k++] = items[i];
            i = inc(i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.noTransform()
        builder = builder.immutable()
        val cacheControl: CacheControl = builder.build()
      }
    
      @Test
      fun call() {
        val call: Call =
          object : Call {
            override fun request(): Request = TODO()
    
            override fun execute(): Response = TODO()
    
            override fun enqueue(responseCallback: Callback) = TODO()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

    import okio.ByteString
    
    fun ByteArray.commonToRequestBody(
      contentType: MediaType?,
      offset: Int,
      byteCount: Int,
    ): RequestBody {
      checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong())
      return object : RequestBody() {
        override fun contentType() = contentType
    
        override fun contentLength() = byteCount.toLong()
    
        override fun writeTo(sink: BufferedSink) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

        val uppercaseBody: ResponseBody =
          object : ForwardingResponseBody(response.body) {
            override fun source(): BufferedSource {
              return uppercaseSource(delegate().source()).buffer()
            }
          }
        return response.newBuilder()
          .body(uppercaseBody)
          .build()
      }
    
      private fun uppercaseSource(source: BufferedSource): ForwardingSource {
        return object : ForwardingSource(source) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Queue<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Queue<String> create(String[] elements);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top