Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 718 for nsNames (0.1 sec)

  1. utils/tests/utils.go

    package tests
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"go/ast"
    	"reflect"
    	"testing"
    	"time"
    
    	"gorm.io/gorm/utils"
    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                    public Collection<Phase> phases() {
                        List<String> names = lifecycle.getPhases();
                        List<Phase> phases = new ArrayList<>();
                        for (int i = 0; i < names.size(); i++) {
                            String name = names.get(i);
                            String prev = i > 0 ? names.get(i - 1) : null;
                            phases.add(new Phase() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResource.java

         * <p>
         * Wildcard expressions will not filter workgroup names or server names.
         * 
         * @param wildcard
         * @return an iterator over the child resources
         * @throws CIFSException
         */
        CloseableIterator<SmbResource> children ( String wildcard ) throws CIFSException;
    
    
        /**
         * @param filter
         *            filter acting on file names
         * @return an iterator over the child resources
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  4. cmd/os_windows.go

    				})
    				if err == errFileNotFound {
    					return nil
    				}
    				return err
    			}
    		}
    		name := syscall.UTF16ToString(data.FileName[0:])
    		if name == "" || name == "." || name == ".." { // Useless names
    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      // TODO(lukes): provide overloads that take constant strings? Function<Runnable, String>s to
      // calculate names?
    
      /**
       * Creates an {@link Executor} that renames the {@link Thread threads} that its tasks run in.
       *
       * <p>The names are retrieved from the {@code nameSupplier} on the thread that is being renamed
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    	// Test that we can get the files back from the archive
    	tr := NewReader(&buf)
    
    	names := make([]string, 0, len(fsys))
    	for name := range fsys {
    		names = append(names, name)
    	}
    	sort.Strings(names)
    
    	entriesLeft := len(fsys)
    	for _, name := range names {
    		entriesLeft--
    
    		entryInfo, err := fsys.Stat(name)
    		if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    			case *ast.ValueSpec:
    				if isDeprecated(n.Doc) {
    					for _, id := range n.Names {
    						mark(id)
    					}
    				}
    				return false
    			case *ast.Field:
    				if isDeprecated(n.Doc) {
    					for _, id := range n.Names {
    						mark(id)
    					}
    					if len(n.Names) == 0 {
    						// embedded field T or *T?
    						typ := n.Type
    						if ptr, ok := typ.(*ast.StarExpr); ok {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  8. cmd/object-api-utils_test.go

    		{"contains-|-pipe", true},
    		{"contains-`-tick", true},
    		{"..test", true},
    		{".. test", true},
    		{". test", true},
    		{".test", true},
    		{"There are far too many object names, and far too few bucket names!", true},
    		{"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~/!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~)", true},
    		{"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", true},
    		{"␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡", true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    		if entry.name != "" {
    			n++
    			if first == nil {
    				first = &m[i]
    			}
    		}
    	}
    	return first, n
    }
    
    // names will return all names in order.
    // Since this allocates it should not be used in critical functions.
    func (m metaCacheEntries) names() []string {
    	res := make([]string, 0, len(m))
    	for _, obj := range m {
    		res = append(res, obj.name)
    	}
    	return res
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. doc/next/3-tools.md

    files. See [#67699](/issue/67699).
    
    ### Vet
    
    The new `tests` analyzer reports common mistakes in declarations of
    tests, fuzzers, benchmarks, and examples in test packages, such as
    malformed names, incorrect signatures, or examples that document
    non-existent identifiers. Some of these mistakes may cause tests not
    to run.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 09 19:57:59 UTC 2024
    - 856 bytes
    - Viewed (0)
Back to top