Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for getRand (0.07 seconds)

  1. tests/lru_test.go

    func BenchmarkLRU_Freq_NoExpire(b *testing.B) {
    	l := lru.NewLRU[int64, int64](8192, nil, 0)
    
    	trace := make([]int64, b.N*2)
    	for i := 0; i < b.N*2; i++ {
    		if i%2 == 0 {
    			trace[i] = getRand(b) % 16384
    		} else {
    			trace[i] = getRand(b) % 32768
    		}
    	}
    
    	b.ResetTimer()
    
    	for i := 0; i < b.N; i++ {
    		l.Add(trace[i], trace[i])
    	}
    	var hit, miss int
    	for i := 0; i < b.N; i++ {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            when(mockAndxCommand.getCommand()).thenReturn(0x42);
    
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, mockAndxCommand);
    
            assertEquals(mockAndxCommand, testBlock.getAndx());
            assertEquals(mockAndxCommand, testBlock.getNext());
            assertEquals(mockAndxCommand, testBlock.getNextResponse());
        }
    
        @Test
        @DisplayName("Test constructor without andx command")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                for (var bean : locator.get().locate(toGuiceKey(key))) {
                    if (isPlexusBean(bean)) {
                        list.add(new BindingToBeanEntry<>(key).toBeanEntry(bean).prioritize(bean.getRank()));
                    }
                }
                if (!list.isEmpty()) {
                    list.sort(getPriorityComparator());
                    //noinspection unchecked
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. tensorflow/c/eager/immediate_execution_context.h

      // to the caller.
      virtual std::unique_ptr<RunMetadata> ExportRunMetadata() = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
      //===--------------------------------------------------------------------===//
      // Experimental Custom Device.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          return FullTypeDef();
        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      TF_Graph* graph_;  // For shape inference.
    };
    
    // GraphOperation wraps and populates a TF_OperationDescription.
    class GraphOperation : public TracingOperation {
     public:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  6. docs/de/docs/help-fastapi.md

    * Prüfen und lesen Sie den Code, fragen Sie sich, ob er Sinn macht, **führen Sie ihn lokal aus** und testen Sie, ob er das Problem tatsächlich löst.
    
    * Schreiben Sie dann einen **Kommentar** und berichten, dass Sie das getan haben. So weiß ich, dass Sie ihn wirklich überprüft haben.
    
    /// info | Info
    
    Leider kann ich PRs, nur weil sie von mehreren gutgeheißen wurden, nicht einfach vertrauen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andxCommand = (byte) andx.getCommand();
            }
        }
    
        /**
         * Gets the chained AndX command
         * @return the andx
         */
        public final ServerMessageBlock getAndx() {
            return this.andx;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#getNext()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/first-steps.md

    ### Ihre App deployen (optional) { #deploy-your-app-optional }
    
    Sie können optional Ihre FastAPI-App in der [FastAPI Cloud](https://fastapicloud.com) deployen, treten Sie der Warteliste bei, falls Sie es noch nicht getan haben. 🚀
    
    Wenn Sie bereits ein **FastAPI Cloud**-Konto haben (wir haben Sie von der Warteliste eingeladen 😉), können Sie Ihre Anwendung mit einem Befehl deployen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  9. docs/de/docs/virtual-environments.md

    /// tip | Tipp
    
    Wenn Sie [`uv`](https://github.com/astral-sh/uv) verwendet haben, um die virtuelle Umgebung zu erstellen, hat es dies bereits für Sie getan, Sie können diesen Schritt überspringen. 😎
    
    ///
    
    /// tip | Tipp
    
    Tun Sie dies **einmal**, unmittelbar nachdem Sie die virtuelle Umgebung erstellt haben.
    
    ///
    
    <div class="termy">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 24.8K bytes
    - Click Count (0)
Back to Top