Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3091 - 3100 of 3,853 for qint (0.04 sec)

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

        assertFalse(fakePool.hasNext());
      }
    
      public void testOrdering() {
        final List<Integer> callOrder = Lists.newArrayList();
    
        class FakeOp implements Runnable {
          final int op;
    
          FakeOp(int op) {
            this.op = op;
          }
    
          @Override
          public void run() {
            callOrder.add(op);
          }
        }
    
        e.execute(new FakeOp(0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      private static final Runnable DONE = new DoNothingRunnable();
      private static final Runnable PARKED = new DoNothingRunnable();
      // Why 1000?  WHY NOT!
      private static final int MAX_BUSY_WAIT_SPINS = 1000;
    
      @Override
      public final void run() {
        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

         *            であってはいけません
         * @return メソッドの引数型を表現する{@link ParameterizedClassDesc}
         */
        public static ParameterizedClassDesc createParameterizedClassDesc(final Constructor<?> constructor, final int index,
                final Map<TypeVariable<?>, Type> map) {
            assertArgumentNotNull("constructor", constructor);
            assertArgumentNotNull("map", map);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/storage-rest-common_gen.go

    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *nsScannerOptions) Msgsize() (s int) {
    	s = 1 + 3 + msgp.StringPrefixSize + len(z.DiskID) + 2 + msgp.IntSize + 2
    	if z.Cache == nil {
    		s += msgp.NilSize
    	} else {
    		s += z.Cache.Msgsize()
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

              <code>
                <![CDATA[
        /**
         * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values.
         */
        public int hashCode() {
            return java.util.Objects.hash(getType(), getProvides());
        } //-- int hashCode()
    
        /**
         * Checks equality based on {@link #getType()} and {@link #getProvides()} values.
         */
        public boolean equals(Object other) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. tests/test_dependency_overrides.py

    from dirty_equals import IsDict
    from fastapi import APIRouter, Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    async def common_parameters(q: str, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/main-depends/")
    async def main_depends(commons: dict = Depends(common_parameters)):
        return {"in": "main-depends", "params": commons}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/ztunnelserver_test.go

    	return struct {
    		ztunClient *net.UnixConn
    		ztunServer *ztunnelServer
    	}{ztunClient: ztunClient, ztunServer: ztun}
    }
    
    func readRequest(t *testing.T, c *net.UnixConn) (*zdsapi.WorkloadRequest, []int) {
    	var oob [1024]byte
    	m, oobn, err := readProto[zdsapi.WorkloadRequest](c, time.Second, oob[:])
    	if err != nil {
    		panic(err)
    	}
    
    	receivedoob := oob[:oobn]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      const val TYPE_A = 0x0001
      const val TYPE_AAAA = 0x001c
      private const val TYPE_PTR = 0x000c
      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer().apply {
          writeShort(0) // query id
          writeShort(256) // flags with recursion
          writeShort(1) // question count
          writeShort(0) // answerCount
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEnumMap.java

        return Iterators.unmodifiableIterator(delegate.keySet().iterator());
      }
    
      @Override
      Spliterator<K> keySpliterator() {
        return delegate.keySet().spliterator();
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return delegate.containsKey(key);
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

        }
    
        public void transferInitiated(TransferEvent transferEvent) {
            listener.transferInitiated(wrap(transferEvent));
        }
    
        public void transferProgress(TransferEvent transferEvent, byte[] buffer, int length) {
            Long transferred;
            synchronized (transfers) {
                transferred = transfers.get(transferEvent.getResource());
                if (transferred == null) {
                    transferred = (long) length;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top