Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 392 for isSmall (0.16 seconds)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * MoreExecutors#newDirectExecutorService} and subject to the same constraints.
       *
       * <p>Although all tasks are immediately executed in the thread that submitted the task, this
       * {@code ExecutorService} imposes a small locking overhead on each task submission in order to
       * implement shutdown and termination behavior.
       *
       * <p>Because of the nature of single-thread execution, the methods {@code scheduleAtFixedRate}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        //                                                                              JSP
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SSPContextTest.java

                // Only stub supportsIntegrity - isEstablished won't be called due to short-circuit
                when(mockCtx.supportsIntegrity()).thenReturn(false);
    
                // A small consumer that only uses MIC if advertised as available
                byte[] data = new byte[] { 1, 2 };
                if (mockCtx.supportsIntegrity() && mockCtx.isEstablished()) {
                    mockCtx.calculateMIC(data);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
            byte[] dst = new byte[5]; // Buffer too small
            int dstIndex = 0;
    
            // Act
            int bytesWritten = trans.writeDataWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(0, bytesWritten);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b><br><small>");
                        out.print(f.length() / 1024 + "KB <br>");
                        out.print(sdf.format(new Date(f.lastModified())));
                        out.print("</small>");
                        out.println("</a>");
                    }
                }
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/LongKeyedBucketOrdsBenchmark.java

                singleBucketIntoMultiSmall(ords);
                bh.consume(ords);
            }
        }
    
        /**
         * Emulates an aggregation that collects from a single bucket "by accident"
         * and gets a "small" bucket ords. This can happen to a {@code terms} inside
         * of another {@code terms} when the "inner" terms only even has a single
         * bucket.
         */
        @Benchmark
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Feb 19 20:59:23 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

                task.dependsOn(checkExtraction);
                task.doLast(new Action<Task>() {
                    @Override
                    public void execute(Task task) {
                        // this is just a small sample from the C++ notices,
                        // the idea being that if we've added these lines we've probably added all the required lines
                        final List<String> expectedLines = extension.expectedMlLicenses.get();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            for (int i = 0; i < 150; i++) {
                largeParams.put("key" + i, "value" + i);
            }
    
            assertNotNull(queryRescorer.evaluate(largeParams));
    
            // Test with small number of parameters
            Map<String, Object> smallParams = new HashMap<>();
            smallParams.put("key", "value");
            assertNull(queryRescorer.evaluate(smallParams));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        }
    
        @Test
        public void test_addIntentHistory_contiguousBlock() {
            client.setTestIntentHistoryMaxChars(10);
            // Messages: [big(20), small(2), small(2)]
            // From newest: small(2) fits (remaining=8), small(2) fits (remaining=6), big(20) doesn't => break
            final List<LlmMessage> history = new ArrayList<>();
            history.add(LlmMessage.user("A".repeat(20))); // 20 chars
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  10. cmd/erasure-object_test.go

    				t.Errorf("Expected putObject to fail with %v, but failed with %v", toObjectErr(errErasureWriteQuorum, bucket, object), err)
    			}
    		})
    	}
    }
    
    // Test PutObject twice, one small and another bigger
    // than small data threshold and checks reading them again
    func TestPutObjectSmallInlineData(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	const numberOfDisks = 4
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
Back to Top