Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,934 for returns_ (0.29 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyLibraryInitIntegrationTest.groovy

            and:
            commonJvmFilesGenerated(scriptDsl)
    
            when:
            run("build")
    
            then:
            assertTestPassed("org.example.LibraryTest", "someLibraryMethod returns true")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "supports the Spock test framework with #scriptDsl build scripts"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/syscall/dir_plan9.go

    		return nil, ErrBadStat
    	}
    	if d.Gid, b, ok = gstring(b); !ok {
    		return nil, ErrBadStat
    	}
    	if d.Muid, b, ok = gstring(b); !ok {
    		return nil, ErrBadStat
    	}
    
    	return &d, nil
    }
    
    // pbit8 copies the 8-bit number v to b and returns the remaining slice of b.
    func pbit8(b []byte, v uint8) []byte {
    	b[0] = byte(v)
    	return b[1:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:32:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. cmd/metacache-bucket.go

    }
    
    // updateCacheEntry will update a cache.
    // Returns the updated status.
    func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) {
    	b.mu.Lock()
    	defer b.mu.Unlock()
    	existing, ok := b.caches[update.id]
    	if !ok {
    		return update, errFileNotFound
    	}
    	existing.update(update)
    	b.caches[update.id] = existing
    	b.updated = true
    	return existing, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/runtime/debug.go

    		total += mp.mLockProfile.waitTime.Load()
    	}
    
    	return total
    }
    
    // NumGoroutine returns the number of goroutines that currently exist.
    func NumGoroutine() int {
    	return int(gcount())
    }
    
    //go:linkname debug_modinfo runtime/debug.modinfo
    func debug_modinfo() string {
    	return modinfo
    }
    
    // mayMoreStackPreempt is a maymorestack hook that forces a preemption
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/go/types/type.go

    package types
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    	// See https://go.dev/ref/spec#Underlying_types.
    	Underlying() Type
    
    	// String returns a string representation of a type.
    	String() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 541 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    	AllowWatchBookmarks bool
    }
    
    // Matches returns true if the given object's labels and fields (as
    // returned by s.GetAttrs) match s.Label and s.Field. An error is
    // returned if s.GetAttrs fails.
    func (s *SelectionPredicate) Matches(obj runtime.Object) (bool, error) {
    	if s.Empty() {
    		return true, nil
    	}
    	labels, fields, err := s.GetAttrs(obj)
    	if err != nil {
    		return false, err
    	}
    	matched := s.Label.Matches(labels)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. pkg/kubelet/types/types.go

    	parsed, _ := time.Parse(logs.RFC3339NanoLenient, timeString)
    	return &Timestamp{parsed}
    }
    
    // Get returns the time as time.Time.
    func (t *Timestamp) Get() time.Time {
    	return t.time
    }
    
    // GetString returns the time in the string format using the RFC3339NanoFixed
    // layout.
    func (t *Timestamp) GetString() string {
    	return t.time.Format(logs.RFC3339NanoFixed)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/go/types/typeparam.go

    	} else if constraint != nil {
    		typ.iface()
    	}
    	return typ
    }
    
    // Obj returns the type name for the type parameter t.
    func (t *TypeParam) Obj() *TypeName { return t.obj }
    
    // Index returns the index of the type param within its param list, or -1 if
    // the type parameter has not yet been bound to a type.
    func (t *TypeParam) Index() int {
    	return t.index
    }
    
    // Constraint returns the type constraint specified for t.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/io/fs/readdir.go

    	return FormatDirEntry(di)
    }
    
    // FileInfoToDirEntry returns a [DirEntry] that returns information from info.
    // If info is nil, FileInfoToDirEntry returns nil.
    func FileInfoToDirEntry(info FileInfo) DirEntry {
    	if info == nil {
    		return nil
    	}
    	return dirInfo{fileInfo: info}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typeparam.go

    	} else if constraint != nil {
    		typ.iface()
    	}
    	return typ
    }
    
    // Obj returns the type name for the type parameter t.
    func (t *TypeParam) Obj() *TypeName { return t.obj }
    
    // Index returns the index of the type param within its param list, or -1 if
    // the type parameter has not yet been bound to a type.
    func (t *TypeParam) Index() int {
    	return t.index
    }
    
    // Constraint returns the type constraint specified for t.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top