Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,838 for ensure (0.09 sec)

  1. src/go/doc/testdata/examples/issue43658.go

    	for u, e := range middleEast.friends {
    		// Ensure unconnected nodes are included.
    		if friends.Node(int64(u)) == nil {
    			friends.AddNode(simple.Node(u))
    		}
    		for v := range e {
    			friends.SetWeightedEdge(simple.WeightedEdge{F: simple.Node(u), T: simple.Node(v), W: 1})
    		}
    	}
    	enemies = simple.NewWeightedUndirectedGraph(0, 0)
    	for u, e := range middleEast.enemies {
    		// Ensure unconnected nodes are included.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 23:13:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  2. src/runtime/traceexp.go

    	return traceExpWriter{traceWriter{traceLocker: traceLocker{gen: gen}, traceBuf: buf}, exp}
    }
    
    // ensure makes sure that at least maxSize bytes are available to write.
    //
    // Returns whether the buffer was flushed.
    func (w traceExpWriter) ensure(maxSize int) (traceExpWriter, bool) {
    	refill := w.traceBuf == nil || !w.available(maxSize)
    	if refill {
    		w.traceWriter = w.traceWriter.refill(w.exp)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. build/nsswitch.conf

    # ensure go's non-cgo resolver respects /etc/hosts
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 29 00:04:48 UTC 2018
    - 68 bytes
    - Viewed (0)
  4. src/internal/poll/fd_mutex_test.go

    	ensurePanics(func() { mu.RWLock(true); mu.RWUnlock(true); mu.RWUnlock(true) })
    	ensurePanics(func() { mu.RWLock(false); mu.RWUnlock(false); mu.RWUnlock(false) })
    
    	// ensure that it's still not broken
    	mu.Incref()
    	mu.Decref()
    	mu.RWLock(true)
    	mu.RWUnlock(true)
    	mu.RWLock(false)
    	mu.RWUnlock(false)
    }
    
    func TestMutexOverflowPanic(t *testing.T) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Closer.java

       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. manifests/helm-profiles/stable.yaml

    # The stable profile deploys admission control to ensure that only stable resources and fields are used
    # THIS IS CURRENTLY EXPERIMENTAL AND SUBJECT TO CHANGE
    experimental:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 22:00:40 UTC 2024
    - 204 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/assembler/groovy/src/main/headers/sum.h

    // Ensure that function name is consistently mapped to assembler
    #ifdef _MSC_VER
    int sum(int a, int b);
    #else
    extern int sum(int a, int b) asm("_sum");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 159 bytes
    - Viewed (0)
  8. releasenotes/notes/27509-lease-duration.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    issue:
      - 27509
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 20 17:09:08 UTC 2021
    - 222 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

      EXPECT_EQ(tf2xla_fallback_count, 322);
      EXPECT_EQ(non_categorized_count, 428);
    }
    
    // Just a counter test to see which ops have duplicate lowerings. This isn't a
    // correctness test versus a test to easily ensure the op registry is kept
    // in sync.
    TEST_F(LegalizationOpConfigTest, CountTypesWhichHaveBothMlirAndTf2xlaFallback) {
      int double_lowering_count = 0;
    
      DialectRegistry dialect_registry;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

                    public void exec() {
                        ${snippets.body}
                    }
                }
    
                def sneakyTask = tasks.register("sneakyTask", SneakyTask) {}
    
                // Ensure that buildSrc compilation triggers an exec task.
                tasks.named("classes").configure {
                    dependsOn(sneakyTask)
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top