- Sort Score
- Num 10 results
- Language All
Results 3481 - 3490 of 6,076 for new1 (0.02 seconds)
-
guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
Checksum checksum = supplier.get(); checksum.update(bytes, 0, bytes.length); long value = checksum.getValue(); String toString = "name"; HashFunction func = new ChecksumHashFunction(supplier, 32, toString); assertThat(func.toString()).isEqualTo(toString); assertEquals(value, func.hashBytes(bytes).padToLong()); } private static void assertHash32(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
case null -> null; case Integer i -> i; case Number n -> n.intValue(); case String s -> toInteger(s); case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime(); case Boolean b -> b ? 1 : 0; default -> toInteger(o.toString()); }; } private static Integer toInteger(final String s) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcException.java
public Throwable getRootCause() { return rootCause; } @Override public String toString() { if (rootCause != null) { final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw); rootCause.printStackTrace(pw); return super.toString() + "\n" + sw; } return super.toString(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java
/** * * @since 4.0.0 */ @Experimental public interface DependencyCoordinatesFactory extends Service { /** * Creates a new {@link DependencyCoordinates} object from the request. * * @param request the request containing the various data * @return a new {@link DependencyCoordinates} object * * @throws IllegalArgumentException if {@code request} is null orCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 3.4K bytes - Click Count (0) -
src/main/webapp/js/admin/plugins/form-validator/security.js
recaptcha.getResponse(b.valAttr("recaptcha-widget-id"))},errorMessage:"",errorMessageKey:"badreCaptcha"}),a.fn.displayPasswordStrength=function(b){return new a.formUtils.validators.validate_strength.strengthDisplay(this,b),this};var g=function(b,c,d){if(c||(c=a("form")),"undefined"!=typeof grecaptcha&&!a.formUtils.hasLoadedGrecaptcha)throw new Error("reCaptcha API can not be loaded by hand, delete reCaptcha API snippet.");if(!a.formUtils.hasLoadedGrecaptcha&&a('[data-validation~="recaptcha"]',c)...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 10.5K bytes - Click Count (1) -
guava/src/com/google/common/base/Strings.java
if (size != longSize) { throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize); } char[] array = new char[size]; string.getChars(0, len, array, 0); int n; for (n = len; n < size - n; n <<= 1) { System.arraycopy(array, 0, array, n, n); } System.arraycopy(array, 0, array, n, size - n); return new String(array); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
public: explicit GraphContext(const char* name) : TracingContext(kGraph), graph_(new TF_Graph(), TF_DeleteGraph), name_(name) {} void Release() override { delete this; } TracingOperation* CreateOperation() override { return new GraphOperation(graph_.get()); } absl::Status AddParameter(DataType dtype, const PartialTensorShape& shape,
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) -
internal/ringbuffer/ring_buffer_test.go
"runtime" "strings" "sync" "testing" "time" ) func TestRingBuffer_interface(t *testing.T) { rb := New(1) var _ io.Writer = rb var _ io.Reader = rb // var _ io.StringWriter = rb var _ io.ByteReader = rb var _ io.ByteWriter = rb } func TestRingBuffer_Write(t *testing.T) { rb := New(64) // check empty or full if !rb.IsEmpty() { t.Fatalf("expect IsEmpty is true but got false") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/RelationshipTester.java
*/ private final Equivalence<? super T> equivalence; private final String relationshipName; private final String hashName; private final ItemReporter itemReporter; private final List<ImmutableList<T>> groups = new ArrayList<>(); RelationshipTester( Equivalence<? super T> equivalence, String relationshipName, String hashName, ItemReporter itemReporter) { this.equivalence = checkNotNull(equivalence);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0)