Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 826 for raws (0.05 sec)

  1. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    when the contiguous Planes BC and CB become sufficiently oblique to the Rays FM, which are incident upon them at M, there will vanish totally out of the refracted Light OPT, first of all the most refracted Rays OP, (the rest OR and OT remaining as before) then the Rays OR and other intermediate ones, and lastly, the least refracted Rays OT. For when the Plane BC becomes sufficiently oblique to the Rays incident upon it, those Rays will begin to be totally reflected by it towards N; and first the most...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
  2. src/testdata/Isaac.Newton-Opticks.txt

    FM, which are incident upon them at M, there will vanish totally out of
    the refracted Light OPT, first of all the most refracted Rays OP, (the
    rest OR and OT remaining as before) then the Rays OR and other
    intermediate ones, and lastly, the least refracted Rays OT. For when
    the Plane BC becomes sufficiently oblique to the Rays incident upon it,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  3. src/database/sql/example_test.go

    	db  *sql.DB
    )
    
    func ExampleDB_QueryContext() {
    	age := 27
    	rows, err := db.QueryContext(ctx, "SELECT name FROM users WHERE age=?", age)
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer rows.Close()
    	names := make([]string, 0)
    
    	for rows.Next() {
    		var name string
    		if err := rows.Scan(&name); err != nil {
    			// Check for a scan error.
    			// Query rows will be closed with defer.
    			log.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 28 14:05:09 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    		return nil
    	}
    
    	// Compute the new rows
    	newRows := make([][]interface{}, len(table.Rows))
    	for i := range table.Rows {
    		newCells := make([]interface{}, 0, len(columns)+len(table.Rows[i].Cells))
    
    		if pos == end {
    			// If we're appending, start with the existing cells,
    			// then add nil cells to match the number of columns
    			newCells = append(newCells, table.Rows[i].Cells...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    		},
    	}
    
    	for i, test := range table {
    		rows, err := printNode(&test.node, printers.GenerateOptions{})
    		if err != nil {
    			t.Fatalf("Error generating table rows for Node: %#v", err)
    		}
    		for i := range rows {
    			rows[i].Object.Object = nil
    		}
    		if !reflect.DeepEqual(test.expected, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. logger/logger.go

    		sql, rows := fc()
    		if rows == -1 {
    			l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, "-", sql)
    		} else {
    			l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, rows, sql)
    		}
    	case elapsed > l.SlowThreshold && l.SlowThreshold != 0 && l.LogLevel >= Warn:
    		sql, rows := fc()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    	tests := []struct {
    		columns  []metav1.TableColumnDefinition
    		rows     []metav1.TableRow
    		options  PrintOptions
    		expected string
    	}{
    		// No columns and no rows means table string is empty.
    		{
    			columns:  []metav1.TableColumnDefinition{},
    			rows:     []metav1.TableRow{},
    			options:  PrintOptions{},
    			expected: "",
    		},
    		// No rows, means table string is empty (columns aren't printed).
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  8. test/typeparam/issue47896.go

    type Repository[T any] struct {
    	db *sql.DB
    }
    
    func (r *Repository[T]) scan(rows *sql.Rows, m Mapper[*T], c Collection[*T]) error {
    	for rows.Next() {
    		t := new(T)
    		if err := m(rows, t); err != nil {
    			return err
    		}
    		c.Add(t)
    	}
    	return rows.Err()
    }
    
    func (r *Repository[T]) query(query string, m Mapper[*T], c Collection[*T]) error {
    	rows, err := r.db.Query(query)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/table/table.go

    			nestedRows, err := MetaToTableRow(obj, rowFn)
    			if err != nil {
    				return err
    			}
    			rows = append(rows, nestedRows...)
    			return nil
    		})
    		if err != nil {
    			return nil, err
    		}
    		return rows, nil
    	}
    
    	rows := make([]metav1.TableRow, 0, 1)
    	m, err := meta.Accessor(obj)
    	if err != nil {
    		return nil, err
    	}
    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 26 18:18:18 UTC 2019
    - 2K bytes
    - Viewed (0)
  10. src/encoding/gob/example_interface_test.go

    	// Pass pointer to interface so Encode sees (and hence sends) a value of
    	// interface type. If we passed p directly it would see the concrete type instead.
    	// See the blog post, "The Laws of Reflection" for background.
    	err := enc.Encode(&p)
    	if err != nil {
    		log.Fatal("encode:", err)
    	}
    }
    
    // interfaceDecode decodes the next interface value from the stream and returns it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 2.1K bytes
    - Viewed (0)
Back to top