Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for strictable (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake_event_clock_test.go

    	exerciseSettablePassiveClock(t, ec)
    	var numDone int32
    	now := ec.Now()
    	strictable := true
    	const batchSize = 100
    	times := make(chan time.Time, batchSize+1)
    	try := func(abs, strict bool, d time.Duration) {
    		f := func(u time.Time) {
    			realD := ec.Since(now)
    			atomic.AddInt32(&numDone, 1)
    			times <- u
    			if realD < d || strict && strictable && realD > d+fuzz {
    				t.Errorf("Asked for %v, got %v", d, realD)
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. test/typeparam/stringable.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 833 bytes
    - Viewed (0)
  3. src/debug/pe/string.go

    func cstring(b []byte) string {
    	i := bytes.IndexByte(b, 0)
    	if i == -1 {
    		i = len(b)
    	}
    	return string(b[:i])
    }
    
    // StringTable is a COFF string table.
    type StringTable []byte
    
    func readStringTable(fh *FileHeader, r io.ReadSeeker) (StringTable, error) {
    	// COFF string table is located right after COFF symbol table.
    	if fh.PointerToSymbolTable <= 0 {
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modindex/write.go

    }
    
    func (e *encoder) String(s string) {
    	if n, ok := e.strings[s]; ok {
    		e.Int(n)
    		return
    	}
    	pos := len(e.stringTable)
    	e.strings[s] = pos
    	e.Int(pos)
    	e.stringTable = binary.AppendUvarint(e.stringTable, uint64(len(s)))
    	e.stringTable = append(e.stringTable, s...)
    }
    
    func (e *encoder) Bool(b bool) {
    	if b {
    		e.Uint32(1)
    	} else {
    		e.Uint32(0)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. mockwebserver/Module.md

    # Module mockwebserver
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 11:27:49 UTC 2019
    - 74 bytes
    - Viewed (0)
  6. tensorflow/cc/experimental/libtf/impl/string.cc

    // pointers. This rules out, for example, absl::flat_hash_set.
    using StringTable = std::unordered_set<std::string>;
    
    namespace tf {
    namespace libtf {
    namespace impl {
    
    String::String(const char* s) {
      static StringTable* table = new StringTable;
      value_ = &*table->insert(s).first;
    }
    
    }  // namespace impl
    }  // namespace libtf
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 21:37:07 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/reflect/HasPublicType.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.reflect;
    
    /**
     * Allows a scriptable object, such as a project extension, to declare its preferred public type.
     *
     * The public type of an object is the one exposed to statically-typed consumers, such as Kotlin build scripts, by default.
     *
     * @since 3.5
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 11 20:41:53 UTC 2018
    - 1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateWindowsResourcesBaseNamesTestApp.groovy

        std::cout << foo1;
        std::cout << foo2;
    }
    """),
            sourceFile("rc/dir1", "resources.rc", """
    #include "hello.h"
    
    STRINGTABLE
    {
        IDS_FOO1, "foo1"
    }
    """),
            sourceFile("rc/dir2", "resources.rc", """
    #include "hello.h"
    
    STRINGTABLE
    {
        IDS_FOO2, "foo2"
    }
    """)]
    
        }
    
        @Override
        List<SourceFile> getHeaderFiles() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/windows-resources/groovy/src/hello/rc/resources.rc

    #include "resources.h"
    
    STRINGTABLE
    {
        IDS_HELLO,   "Hello world!"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 73 bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/WindowsResourceHelloWorldApp.groovy

    }
    """),
            new SourceFile("rc", "resources.rc", """
    #include "hello.h"
    
    // HACK: Ensure include root are correctly setup
    // See: https://github.com/gradle/gradle/issues/3662
    #include "winres.h"
    
    STRINGTABLE
    {
        #ifdef FRENCH
        IDS_HELLO, "${HELLO_WORLD_FRENCH}"
        #else
        IDS_HELLO, "${HELLO_WORLD}"
        #endif
    }
    """)
        ]
    
        List<SourceFile> getResourceSources() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top