Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2871 - 2880 of 4,204 for Hint (0.04 sec)

  1. android/guava/src/com/google/common/cache/Weigher.java

      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/ResponseTest.java

            // Verify the method was called
            verify(mockResponse, times(1)).getMid();
        }
    
        @Test
        void testVerifySignature() {
            byte[] buffer = new byte[] { 1, 2, 3 };
            int offset = 0;
            int size = 3;
    
            // Simulate successful verification
            when(mockResponse.verifySignature(buffer, offset, size)).thenReturn(true);
            assertTrue(mockResponse.verifySignature(buffer, offset, size));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        SerializableTester.reserializeAndAssert(Equivalence.equals());
        SerializableTester.reserializeAndAssert(Equivalence.identity());
      }
    
      private static class IntValue {
        private final int value;
    
        IntValue(int value) {
          this.value = value;
        }
    
        @Override
        public String toString() {
          return "value = " + value;
        }
      }
    
      public void testOnResultOf() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

        assertThat(hasCycle(undirectedGraph)).isTrue();
      }
    
      @Test
      public void hasCycle_deepPathGraph() {
        for (MutableGraph<Integer> graph : graphsToTest) {
          for (int i = 0; i < 100000; i++) {
            graph.putEdge(i, i + 1);
          }
        }
        assertThat(hasCycle(directedNetwork)).isFalse();
        assertThat(hasCycle(undirectedNetwork)).isFalse();
      }
    
      @Test
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. clause/association.go

    package clause
    
    // AssociationOpType represents association operation types
    type AssociationOpType int
    
    const (
    	OpUnlink AssociationOpType = iota // Unlink association
    	OpDelete                          // Delete association records
    	OpUpdate                          // Update association records
    	OpCreate                          // Create association records with assignments
    )
    
    // Association represents an association operation
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 05:42:26 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  6. docs_src/handling_errors/tutorial004_py39.py

        for error in exc.errors():
            message += f"\nField: {error['loc']}, Error: {error['msg']}"
        return PlainTextResponse(message, status_code=400)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
            raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 920 bytes
    - Viewed (0)
  7. src/bufio/export_test.go

    package bufio
    
    // Exported for testing only.
    import (
    	"unicode/utf8"
    )
    
    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    	s.maxTokenSize = n
    }
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 02 17:17:44 UTC 2017
    - 597 bytes
    - Viewed (0)
  8. cmd/s3-zip-handlers.go

    	}
    
    	files, err := zipindex.DeserializeFiles(zipInfo)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	sort.Slice(files, func(i, j int) bool {
    		return files[i].Name < files[j].Name
    	})
    
    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    		listObjectsInfo ListObjectsV2Info
    	)
    
    	// Always set this
    	listObjectsInfo.ContinuationToken = token
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

        /** Logger for this class. */
        static final Logger logger = LogManager.getLogger(GenerateThumbnailJob.class);
    
        /** Number of threads to use for thumbnail generation. */
        protected int numOfThreads = 1;
    
        /** Flag indicating whether to perform cleanup operations. */
        protected boolean cleanup = false;
    
        /**
         * Default constructor for the GenerateThumbnailJob.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        private final ExecutorService executor = newSingleThreadExecutor();
    
        FakeService() {
          tearDownStack.addTearDown(this);
        }
    
        volatile int startupCalled = 0;
        volatile int shutdownCalled = 0;
        volatile int runCalled = 0;
    
        @Override
        protected void startUp() throws Exception {
          assertEquals(0, startupCalled);
          assertEquals(0, runCalled);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top