Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,909 for size0 (0.02 sec)

  1. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.previous = header;
            size = 0;
        }
    
        /**
         * インデックスで指定された位置のエントリを返します。
         *
         * @param index
         *            インデックス
         * @return エントリ
         */
        public Entry getEntry(final int index) {
            assertIndex(0 <= index && index < size, "Index: " + index + ", Size: " + size);
            Entry e = header;
            if (index < size / 2) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. internal/config/crypto_test.go

    	if err != nil {
    		b.Fatalf("Failed to create KMS: %v", err)
    	}
    
    	benchmarkEncrypt := func(size int, b *testing.B) {
    		var (
    			data      = make([]byte, size)
    			plaintext = bytes.NewReader(data)
    			context   = kms.Context{"key": "value"}
    		)
    		b.SetBytes(int64(size))
    		for i := 0; i < b.N; i++ {
    			ciphertext, err := Encrypt(KMS, plaintext, context)
    			if err != nil {
    				b.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                            }
                        } else {
                            pending.add(element);
                        }
                    }
    
                    List<Plugin> result = new ArrayList<>(src.size() + tgt.size());
                    for (Map.Entry<Object, Plugin> entry : master.entrySet()) {
                        List<Plugin> pre = predecessors.get(entry.getKey());
                        if (pre != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        std::vector<TF_Output> tf_outputs(inputs.size());
        for (int i = 0; i < inputs.size(); i++) {
          GraphTensor* t = dyn_cast<GraphTensor>(inputs[i]);
          if (!t) {
            return tensorflow::errors::InvalidArgument(
                "Unable to cast input to GraphTensor");
          }
          tf_outputs[i] = t->output_;
        }
        TF_AddInputList(op_.get(), tf_outputs.data(), tf_outputs.size());
        return absl::OkStatus();
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            assertEquals(4, res.getVertices().size(), "wrong # of vertices in the resulting graph after resolver");
            assertEquals(
                    2,
                    res.getExcidentEdges(v1).size(),
                    "wrong # of excident edges in the resulting graph entry after resolver");
    
            assertEquals(
                    1,
                    res.getIncidentEdges(v2).size(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

          for (int j = 0; j < 2; j++) {
            nonnegInt[i][j] = randomNonNegativeBigInteger(Integer.SIZE - 2).intValue();
            nonnegLong[i][j] = randomNonNegativeBigInteger(Long.SIZE - 2).longValue();
          }
          do {
            for (int j = 0; j < 2; j++) {
              intsToAdd[i][j] = randomBigInteger(Integer.SIZE - 2).intValue();
            }
          } while (!Impl.GUAVA.noAddOverflow(intsToAdd[i][0], intsToAdd[i][1]));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        delegate!!.keepAlive = keepAlive
      }
    
      @Throws(SocketException::class)
      override fun setSendBufferSize(size: Int) {
        delegate!!.sendBufferSize = size
      }
    
      @Throws(SocketException::class)
      override fun setReceiveBufferSize(size: Int) {
        delegate!!.receiveBufferSize = size
      }
    
      @Throws(SocketException::class)
      override fun setSoLinger(
        on: Boolean,
        timeout: Int,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/http-tracer.go

    			tt = madmin.TraceS3
    		}
    
    		// Calculate input body size with headers
    		reqHeaders := r.Header.Clone()
    		reqHeaders.Set("Host", r.Host)
    		if len(r.TransferEncoding) == 0 {
    			reqHeaders.Set("Content-Length", strconv.Itoa(int(r.ContentLength)))
    		} else {
    			reqHeaders.Set("Transfer-Encoding", strings.Join(r.TransferEncoding, ","))
    		}
    		inputBytes := reqRecorder.Size()
    		for k, v := range reqHeaders {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer.go

    }
    
    // New returns a new RingBuffer whose buffer has the given size.
    func New(size int) *RingBuffer {
    	return &RingBuffer{
    		buf:  make([]byte, size),
    		size: size,
    	}
    }
    
    // NewBuffer returns a new RingBuffer whose buffer is provided.
    func NewBuffer(b []byte) *RingBuffer {
    	return &RingBuffer{
    		buf:  b,
    		size: len(b),
    	}
    }
    
    // SetBlocking sets the blocking mode of the ring buffer.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testNestedInnerClassDefaultConstructor() {
        Constructor<?> constructor =
            InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      private class InnerWithOneParameterConstructor {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top