Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for importing (0.18 sec)

  1. src/cmd/go/internal/load/pkg.go

    		setError(ImportErrorf(p.ImportPath, "invalid import path %q", p.ImportPath))
    		return
    	}
    
    	// Errors after this point are caused by this package, not the importing
    	// package. Pushing the path here prevents us from reporting the error
    	// with the position of the import declaration.
    	stk.Push(path)
    	defer stk.Pop()
    
    	pkgPath := p.ImportPath
    	if p.Internal.CmdlineFiles {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        data_gen = self._create_data_generator(
            input_key='input', shape=input_placeholder.shape
        )
    
        # StatusNotOk error. `Exception` is used here because importing
        # `StatusNotOk` may break the open-sourced version of TensorFlow.
        with self.assertRaisesRegex(
            Exception,
            'could not be found in SavedModel, with available tags',
        ) as raises:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    		return err
    	}
    
    	importcfg := a.Objdir + "importcfg.link"
    	if err := b.writeLinkImportcfg(a, importcfg); err != nil {
    		return err
    	}
    
    	// TODO(rsc): There is a missing updateBuildID here,
    	// but we have to decide where to store the build ID in these files.
    	a.built = a.Target
    	return BuildToolchain.ldShared(b, a, a.Deps[0].Deps, a.Target, importcfg, a.Deps)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/eviction_manager_test.go

    			t.Errorf("Admit pod: %v, expected: %v, actual: %v", pod, expected[i], result.Admit)
    		}
    	}
    
    	// move the clock past transition period to ensure that we stop reporting pressure
    	fakeClock.Step(5 * time.Minute)
    	summaryProvider.result = summaryStatsMaker("2Gi", podStats)
    	podKiller.pod = nil // reset state
    	_, err = manager.synchronize(diskInfoProvider, activePodsFunc)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    	// doesn't free mp while we are still using it.
    	//
    	// Note that the free list must not be linked through alllink because
    	// some functions walk allm without locking, so may be using alllink.
    	//
    	// N.B. It's important that the M appears on the free list simultaneously
    	// with it being removed so that the tracer can find it.
    	mp.freeWait.Store(freeMWait)
    	mp.freelink = sched.freem
    	sched.freem = mp
    	unlock(&sched.lock)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. src/database/sql/sql_test.go

    		Deadline() (time.Time, bool)
    	}
    	if td, ok := t.(deadliner); ok {
    		if deadline, ok := td.Deadline(); ok {
    			timeout = time.Until(deadline)
    			timeout = timeout * 19 / 20 // Give 5% headroom for cleanup and error-reporting.
    		}
    	}
    
    	deadline := time.Now().Add(timeout)
    	for {
    		if fn() {
    			return true
    		}
    		if time.Until(deadline) < pollDuration {
    			return false
    		}
    		time.Sleep(pollDuration)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.reporting.ReportingExtension.getApiDocTitle()> does not have raw return type assignable to org.gradle.api.provider.Provider in (ReportingExtension.java:0)
    Method <org.gradle.api.reporting.ReportingExtension.getBaseDir()> does not have raw return type assignable to org.gradle.api.provider.Property in (ReportingExtension.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  8. cluster/gce/util.sh

      if [[ -z "${match}" ]]; then
        echo ""
      fi
      echo "${match}" | cut -d : -f 2 | cut -d \' -f 2
    }
    
    # Load the master env by calling get-master-env, and extract important values
    function parse-master-env() {
      # Get required master env vars
      local master_env
      master_env=$(get-master-env)
      KUBE_PROXY_TOKEN=$(get-env-val "${master_env}" "KUBE_PROXY_TOKEN")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers_test.go

    					},
    				},
    			},
    			[]metav1.TableRow{{Cells: []interface{}{"test3", "0/2", "ContainerWaitingReason", "6", "<unknown>"}}},
    		},
    		{
    			// Test ready is not enough for reporting running
    			api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "test4"},
    				Spec:       api.PodSpec{Containers: make([]api.Container, 2)},
    				Status: api.PodStatus{
    					Phase: "podPhase",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one_test.go

    	for _, p := range pods {
    		_, err := client.CoreV1().Pods("").Create(ctx, p, metav1.CreateOptions{})
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	wg.Wait()
    
    	// Verify correct bindings and reporting controllers.
    	if diff := cmp.Diff(wantBindings, bindings); diff != "" {
    		t.Errorf("pods were scheduled incorrectly (-want, +got):\n%s", diff)
    	}
    	if diff := cmp.Diff(wantControllers, controllers); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top