Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 711 for skips (0.03 seconds)

  1. internal/s3select/csv/reader.go

    	}
    	return r.readCloser.Close()
    }
    
    // nextSplit will attempt to skip a number of bytes and
    // return the buffer until the next newline occurs.
    // The last block will be sent along with an io.EOF.
    func (r *Reader) nextSplit(skip int, dst []byte) ([]byte, error) {
    	if cap(dst) < skip {
    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    	if skip > 0 {
    		n, err := io.ReadFull(r.buf, dst)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                    /* The Elasticsearch test runner doesn't support quite a few
                     * constructs unless we output this skip. We don't know if
                     * we're going to use these constructs, but we might so we
                     * output the skip just in case. */
                    current.println("  - skip:")
                    current.println("      features: ")
                    current.println("        - default_shards")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  3. cmd/batch-job-common-types_gen.go

    				err = msgp.WrapError(err, "Key")
    				return
    			}
    		case "Value":
    			z.Value, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Value")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BatchJobKV) EncodeMsg(en *msgp.Writer) (err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  4. internal/bucket/bandwidth/monitor_gen.go

    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BucketBandwidthReport) EncodeMsg(en *msgp.Writer) (err error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. cmd/bucket-stats_gen.go

    						return
    					}
    				default:
    					err = dc.Skip()
    					if err != nil {
    						err = msgp.WrapError(err, "QueueStats")
    						return
    					}
    				}
    			}
    		case "ProxyStats":
    			err = z.ProxyStats.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "ProxyStats")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 57.3K bytes
    - Click Count (0)
  6. cmd/batch-replicate_gen.go

    						return
    					}
    				default:
    					err = dc.Skip()
    					if err != nil {
    						err = msgp.WrapError(err, "Creds")
    						return
    					}
    				}
    			}
    		case "Snowball":
    			err = z.Snowball.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Snowball")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.7K bytes
    - Click Count (0)
  7. tests/migrate_test.go

    	AssertEqual(t, nil, err)
    }
    
    func TestMigrateWithDefaultValue(t *testing.T) {
    	if DB.Dialector.Name() == "sqlserver" {
    		// sqlserver driver treats NULL and 'NULL' the same
    		t.Skip("skip sqlserver")
    	}
    
    	type NullModel struct {
    		ID      uint
    		Content string `gorm:"default:null"`
    	}
    
    	type NullStringModel struct {
    		ID      uint
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  8. cmd/erasure-utils.go

    	var totalWritten int64
    
    	// Write all data blocks to dst.
    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

    private fun BufferedSource.skipWhitespace() {
      while (!exhausted()) {
        if (buffer[0] != ' '.code.toByte()) return
        skip(1L)
      }
    }
    
    private fun BufferedSource.skipRestOfLine() {
      when (val newline = indexOf('\n'.code.toByte())) {
        -1L -> skip(buffer.size)
    
        // Exhaust this source.
        else -> skip(newline + 1)
      }
    }
    
    /**
     * Reads lines from `IdnaMappingTable.txt`.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. tests/postgres_test.go

    	"github.com/lib/pq"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPostgresReturningIDWhichHasStringType(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    		ID        string `gorm:"default:gen_random_uuid()"`
    		Name      string
    		CreatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"`
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Click Count (0)
Back to Top