Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for Grappler (0.24 sec)

  1. src/cmd/doc/main.go

    		return true
    	}
    	for _, dotPath := range dotPaths {
    		if strings.HasPrefix(arg, dotPath) {
    			return true
    		}
    	}
    	return false
    }
    
    // importDir is just an error-catching wrapper for build.ImportDir.
    func importDir(dir string) *build.Package {
    	pkg, err := build.ImportDir(dir, build.ImportComment)
    	if err != nil {
    		log.Fatal(err)
    	}
    	return pkg
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/log/slog/value.go

    		return x
    	case stringptr:
    		return KindString
    	case timeLocation, timeTime:
    		return KindTime
    	case groupptr:
    		return KindGroup
    	case LogValuer:
    		return KindLogValuer
    	case kind: // a kind is just a wrapper for a Kind
    		return KindAny
    	default:
    		return KindAny
    	}
    }
    
    //////////////// Constructors
    
    // StringValue returns a new [Value] for a string.
    func StringValue(value string) Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                        mapping.computeIfAbsent(element) { _ ->
                            unmappedCount -= 1
                            // Here we intentionally use the 'Optional' wrapper to make 'computeIfAbsent' work smoothly
                            Optional.ofNullable(computeTarget(element))
                        }
                    }
    
                    if (unmappedCount > 0) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. src/runtime/type.go

    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    type nameOff = abi.NameOff
    type typeOff = abi.TypeOff
    type textOff = abi.TextOff
    
    type _type = abi.Type
    
    // rtype is a wrapper that allows us to define additional methods.
    type rtype struct {
    	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
    }
    
    func (t rtype) string() string {
    	s := t.nameOff(t.Str).Name()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/time/tick_test.go

    	Delta := 100 * Millisecond
    	if testing.Short() {
    		Delta = 20 * Millisecond
    	}
    	for range 3 {
    		ticker := NewTicker(Delta)
    		<-ticker.C
    		ticker.Stop()
    	}
    }
    
    // Test the Tick convenience wrapper.
    func TestTick(t *testing.T) {
    	// Test that giving a negative duration returns nil.
    	if got := Tick(-1); got != nil {
    		t.Errorf("Tick(-1) = %v; want nil", got)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    	if fi.Deleted {
    		return fi.ReplicationState.CompositeReplicationStatus()
    	}
    	return replication.StatusType("")
    }
    
    // GetInternalReplicationState is a wrapper method to fetch internal replication state from the map m
    func GetInternalReplicationState(m map[string][]byte) ReplicationState {
    	m1 := make(map[string]string, len(m))
    	for k, v := range m {
    		m1[k] = string(v)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	}
    	n, err := d.w.Write(p)
    	if err == nil && n == len(p) {
    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    // diskHealthReader provides a wrapper that will update disk health on
    // ctx, on every successful read.
    // This should only be used directly at the os/syscall level,
    // otherwise buffered operations may return false health checks.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        executor.execute(new SleepTask(1000));
        executor.shutdown();
        awaitTerminationUninterruptibly(executor);
        assertTrue(executor.isTerminated());
        assertInterrupted();
      }
    
      /**
       * Wrapper around {@link Stopwatch} which also contains an "expected completion time." Creating a
       * {@code Completion} starts the underlying stopwatch.
       */
      private static final class Completion {
        final Stopwatch stopwatch;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    		return true
    	}
    
    	// FIXME: Ports on a listener can be 0. the API only takes uint32 for ports
    	// We should either make that field in API as a wrapper type or switch to int
    	if lMatch.PortNumber != 0 {
    		sockAddr := listener.Address.GetSocketAddress()
    		if sockAddr == nil || sockAddr.GetPortValue() != lMatch.PortNumber {
    			return false
    		}
    	}
    	return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. cmd/object-api-utils_test.go

    func BenchmarkPathJoin(b *testing.B) {
    	b.Run("PathJoin", func(b *testing.B) {
    		b.ResetTimer()
    		b.ReportAllocs()
    
    		for i := 0; i < b.N; i++ {
    			pathJoin("volume", "path/path/path")
    		}
    	})
    }
    
    // Wrapper
    func TestPathTraversalExploit(t *testing.T) {
    	if runtime.GOOS != globalWindowsOSName {
    		t.Skip()
    	}
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testPathTraversalExploit, []string{"PutObject"})
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top