- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 190 for ilen (0.02 sec)
-
tensorflow/c/c_api_function.cc
lib = g->graph.flib_def().ToProto(); } const auto len = std::min(max_func, static_cast<int>(lib.function_size())); for (int i = 0; i < len; ++i) { TF_Function* func = new TF_Function(); func->record = new tensorflow::FunctionRecord(lib.function(i), {}, false); funcs[i] = func; } status->status = absl::OkStatus(); return len; }
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
setField(cmd, "unlocks", new LockingAndXRange[] { unlock }); setField(cmd, "largeFile", false); byte[] buffer = new byte[20]; int len = cmd.writeParameterWordsWireFormat(buffer, 0); assertEquals(-12, len, "writeParameterWordsWireFormat should write 12 Bytes"); // Validate parameter bytes using reflection since fields are private
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/bufio/example_test.go
} } // Return the most recent call to Scan as a []byte. func ExampleScanner_Bytes() { scanner := bufio.NewScanner(strings.NewReader("gopher")) for scanner.Scan() { fmt.Println(len(scanner.Bytes()) == 6) } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string") } // Output: // true }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/httprange.go
return nil, fmt.Errorf("'%s' does not have a valid range value", rangeString) } offsetBeginString := byteRangeString[:sepIndex] offsetBegin := int64(-1) // Convert offsetBeginString only if its not empty. if len(offsetBeginString) > 0 { if offsetBeginString[0] == '+' { return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
} @Override public void readFully(byte[] b) throws IOException { ByteStreams.readFully(this, b); } @Override public void readFully(byte[] b, int off, int len) throws IOException { ByteStreams.readFully(this, b, off, len); } @Override public int skipBytes(int n) throws IOException { return (int) in.skip(n); } @CanIgnoreReturnValue // to skip a byte @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 7.3K bytes - Viewed (0) -
src/archive/tar/example_test.go
{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"}, {"todo.txt", "Get animal handling license."}, } for _, file := range files { hdr := &tar.Header{ Name: file.Name, Mode: 0600, Size: int64(len(file.Body)), } if err := tw.WriteHeader(hdr); err != nil { log.Fatal(err) } if _, err := tw.Write([]byte(file.Body)); err != nil { log.Fatal(err) } } if err := tw.Close(); err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 16 16:54:08 UTC 2017 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
} public static ByteSourceFactory asSlicedByteSourceFactory( ByteSourceFactory factory, long off, long len) { checkNotNull(factory); return new ByteSourceFactory() { @Override public ByteSource createSource(byte[] bytes) throws IOException { return factory.createSource(bytes).slice(off, len); } @Override public byte[] getExpected(byte[] bytes) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
schema/constraint.go
checks := map[string]CheckConstraint{} for _, field := range schema.FieldsByDBName { if chk := field.TagSettings["CHECK"]; chk != "" { names := strings.Split(chk, ",") if len(names) > 1 && regEnLetterAndMidline.MatchString(names[0]) { checks[names[0]] = CheckConstraint{Name: names[0], Constraint: strings.Join(names[1:], ","), Field: field} } else { if names[0] == "" {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Mar 18 07:33:54 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
private static class Control extends AbstractNonStreamingHashFunction { @Override public HashCode hashBytes(byte[] input, int off, int len) { return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len)); } @Override public int bits() { throw new UnsupportedOperationException(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
tests/embedded_struct_test.go
} } stmt := gorm.Statement{DB: DB} if err := stmt.Parse(&EngadgetPost{}); err != nil { t.Fatalf("failed to parse embedded struct") } else if len(stmt.Schema.PrimaryFields) != 1 { t.Errorf("should have only one primary field with embedded struct, but got %v", len(stmt.Schema.PrimaryFields)) } for _, name := range []string{"user_id", "user_name", "user_email"} { if !DB.Migrator().HasColumn(&HNPost{}, name) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0)