Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for isNice (0.12 sec)

  1. pkg/util/slice/slice.go

    // SortStrings sorts the specified string slice in place. It returns the same
    // slice that was provided in order to facilitate method chaining.
    func SortStrings(s []string) []string {
    	sort.Strings(s)
    	return s
    }
    
    // ContainsString checks if a given slice of strings contains the provided string.
    // If a modifier func is provided, it is called with the slice item before the comparation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 21 19:03:53 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  2. src/go/types/slice.go

    // Source: ../../cmd/compile/internal/types2/slice.go
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // A Slice represents a slice type.
    type Slice struct {
    	elem Type
    }
    
    // NewSlice returns a new slice type for the given element type.
    func NewSlice(elem Type) *Slice { return &Slice{elem: elem} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 701 bytes
    - Viewed (0)
  3. src/sort/slice.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package sort
    
    import (
    	"internal/reflectlite"
    	"math/bits"
    )
    
    // Slice sorts the slice x given the provided less function.
    // It panics if x is not a slice.
    //
    // The sort is not guaranteed to be stable: equal elements
    // may be reversed from their original order.
    // For a stable sort, use [SliceStable].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/slice.go

    	"cmd/internal/src"
    )
    
    // A Slice reads from a slice of Tokens.
    type Slice struct {
    	tokens []Token
    	base   *src.PosBase
    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/slice.go

    package types2
    
    // A Slice represents a slice type.
    type Slice struct {
    	elem Type
    }
    
    // NewSlice returns a new slice type for the given element type.
    func NewSlice(elem Type) *Slice { return &Slice{elem: elem} }
    
    // Elem returns the element type of slice s.
    func (s *Slice) Elem() Type { return s.elem }
    
    func (s *Slice) Underlying() Type { return s }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 577 bytes
    - Viewed (0)
  6. releasenotes/notes/endpoint-slice.yaml

    Steven Landow <******@****.***> 1636742042 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 12 18:34:02 UTC 2021
    - 322 bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/micromailer/spice-parent-9.pom

      <modelVersion>4.0.0</modelVersion>
      <groupId>org.sonatype.spice</groupId>
      <artifactId>spice-parent</artifactId>
      <version>11</version>
      <packaging>pom</packaging>
      <name>Sonatype Spice Components</name>
    
      <scm>
        <connection>scm:svn:http://svn.sonatype.org/spice/trunk/spice-parent</connection>
        <url>https://svn.sonatype.org/spice/trunk/spice-parent</url>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:50:27 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py

        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["path", "item_id"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/internal/poll/fd_poll_js.go

    	}
    }
    
    func (pd *pollDesc) prepare(mode int, isFile bool) error {
    	if pd.closing {
    		return errClosing(isFile)
    	}
    	return nil
    }
    
    func (pd *pollDesc) prepareRead(isFile bool) error { return pd.prepare('r', isFile) }
    
    func (pd *pollDesc) prepareWrite(isFile bool) error { return pd.prepare('w', isFile) }
    
    func (pd *pollDesc) wait(mode int, isFile bool) error {
    	if pd.closing {
    		return errClosing(isFile)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:12:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top