Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for dirty (0.14 sec)

  1. src/database/sql/convert_test.go

    func TestUserDefinedBytes(t *testing.T) {
    	type userDefinedBytes []byte
    	var u userDefinedBytes
    	v := []byte("foo")
    
    	convertAssign(&u, v)
    	if &u[0] == &v[0] {
    		t.Fatal("userDefinedBytes got potentially dirty driver memory")
    	}
    }
    
    type Valuer_V string
    
    func (v Valuer_V) Value() (driver.Value, error) {
    	return strings.ToUpper(string(v)), nil
    }
    
    type Valuer_P string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
    
        assertThat(map.segments).hasLength(4);
        // 1 is as low as it goes, not 0. it feels dirty to know this/test this.
        assertEquals(1, map.segments[0].table.length());
        assertEquals(1, map.segments[1].table.length());
        assertEquals(1, map.segments[2].table.length());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                    public static abstract class TestAction implements WorkAction<WorkParameters.None> {
                        @Override
                        public void execute() {
                            // Make the ClassLoader "dirty" by trying to load something from it
                            assert Thread.currentThread().getContextClassLoader().getResource("/TestResource.txt") != null;
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. src/runtime/mkpreempt.go

    	p("// But vet doesn't know ADJSP, so suppress vet stack checking")
    	p("NOP SP")
    
    	l.save()
    
    	// Apparently, the signal handling code path in darwin kernel leaves
    	// the upper bits of Y registers in a dirty state, which causes
    	// many SSE operations (128-bit and narrower) become much slower.
    	// Clear the upper bits to get to a clean state. See issue #37174.
    	// It is safe here as Go code don't use the upper bits of Y registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    }
    
    func fakeVersion() version.Info {
    	return version.Info{
    		Major:        "42",
    		Minor:        "42",
    		GitVersion:   "42",
    		GitCommit:    "34973274ccef6ab4dfaaf86599792fa9c3fe4689",
    		GitTreeState: "Dirty",
    		BuildDate:    time.Now().String(),
    		GoVersion:    goruntime.Version(),
    		Compiler:     goruntime.Compiler,
    		Platform:     fmt.Sprintf("%s/%s", goruntime.GOOS, goruntime.GOARCH),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	// at this point, we know we have a coherent view of e.work.  It is entirely possible
    	// that our workqueue has another item requeued to it, but we'll pick it up early.  This ok
    	// because the next time will go into our dirty list
    
    	work := e.work[ns]
    	delete(e.work, ns)
    	delete(e.dirtyWork, ns)
    	e.inProgress.Insert(ns)
    	return ns, work, false
    }
    
    // prettyPrint formats a resource list for usage in errors
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    So, to balance that out, imagine the following short story:
    
    > You have to clean a big, dirty house.
    
    *Yep, that's the whole story*.
    
    ---
    
    There's no waiting 🕙 anywhere, just a lot of work to be done, on multiple places of the house.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                }
                try {
                    return cached.orNull();
                } finally {
                    lock.readLock().unlock();
                }
            }
    
            /**
             * Removes dirty entries from the cache. Calling System.currentTimeMillis() is costly so we should try to limit calls to this method. This method will only trigger cleanup at most once per
             * 30s.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. src/database/sql/fakedb_test.go

    var hookExecBadConn func() bool
    
    func (s *fakeStmt) Exec(args []driver.Value) (driver.Result, error) {
    	panic("Using ExecContext")
    }
    
    var errFakeConnSessionDirty = errors.New("fakedb: session is dirty")
    
    func (s *fakeStmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) {
    	if s.panic == "Exec" {
    		panic(s.panic)
    	}
    	if s.closed {
    		return nil, errClosed
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/edit.go

    	// terminates, and the easiest way to prove it is to add this map.
    	//
    	// Then the proof of termination is this:
    	// On every iteration where we mark the roots as dirty, we add some new module
    	// version to the map. The universe of module versions is finite, so we must
    	// eventually reach a state in which we do not add any version to the map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top