Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for doCreate (0.32 sec)

  1. pkg/volume/util/subpath/subpath_windows.go

    		}
    		return &os.PathError{Op: "mkdir", Path: pathname, Err: syscall.ENOTDIR}
    	}
    
    	// Find all existing directories
    	existingPath, toCreate, err := findExistingPrefix(base, pathname)
    	if err != nil {
    		return fmt.Errorf("error opening directory %s: %s", pathname, err)
    	}
    	if len(toCreate) == 0 {
    		return nil
    	}
    
    	// Ensure the existing directory is inside allowed base
    	fullExistingPath, err := evalSymlink(existingPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-go-create-without-running-g.test

    -- expect --
    SUCCESS
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=17
    ProcStatus dt=1 p=0 pstatus=1
    GoCreate dt=1 new_g=5 new_stack=0 stack=0
    GoStart dt=1 g=5 g_seq=1
    GoStop dt=1 reason_string=1 stack=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=12
    Strings
    String id=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 446 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-annotations.test

    ProcStatus dt=1 p=47 pstatus=2
    ProcsChange dt=1 procs_value=48 stack=3
    STWEnd dt=184
    GoCreate dt=252 new_g=6 new_stack=4 stack=5
    GoCreate dt=78 new_g=7 new_stack=6 stack=7
    GoCreate dt=73 new_g=8 new_stack=8 stack=9
    UserTaskBegin dt=71 task=1 parent_task=0 name_string=22 stack=10
    UserRegionBegin dt=535 task=1 name_string=23 stack=11
    HeapAlloc dt=26 heapalloc_value=1884160
    GoCreate dt=8 new_g=9 new_stack=12 stack=13
    GoBlock dt=249 reason_string=10 stack=14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. pkg/volume/util/subpath/subpath_windows_test.go

    			test.base, test.pathname, existingPath, test.expectedExistingPath)
    
    		assert.Equal(t, test.expectedToCreateDirs, toCreate, "Expect result not equal with findExistingPrefix(%s, %s) return: %q, expected: %q",
    			test.base, test.pathname, toCreate, test.expectedToCreateDirs)
    
    	}
    	// remove dir will happen after closing all file handles
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  5. pkg/controller/endpointslicemirroring/reconciler.go

    		slices.append(pmSlices)
    		totals.add(pmTotals)
    
    		epMetrics.Set(endpointsliceutil.PortMapKey(portKey), metrics.EfficiencyInfo{
    			Endpoints: numEndpoints,
    			Slices:    len(existingSlicesByKey[portKey]) + len(pmSlices.toCreate) - len(pmSlices.toDelete),
    		})
    	}
    
    	// If there are unique sets of ports that are no longer desired, mark
    	// the corresponding endpoint slices for deletion.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. src/cmd/trace/testdata/go122.test

    HeapAlloc dt=24 heapalloc_value=26336904
    GoCreate dt=72 new_g=34 new_stack=47 stack=48
    GoCreate dt=183 new_g=35 new_stack=47 stack=48
    GoCreate dt=15 new_g=36 new_stack=47 stack=48
    GoCreate dt=12 new_g=37 new_stack=47 stack=48
    GoCreate dt=14 new_g=38 new_stack=47 stack=48
    HeapAlloc dt=25 heapalloc_value=26344200
    GoCreate dt=9 new_g=39 new_stack=47 stack=48
    GoCreate dt=13 new_g=40 new_stack=47 stack=48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  7. src/runtime/tracestatus.go

    	//
    	// There are two of these so that we can reset the counter on each generation.
    	// This saves space in the resulting trace by keeping the counter small and allows
    	// GoStatus and GoCreate events to omit a sequence number (implicitly 0).
    	seq [2]uint64
    }
    
    // acquireStatus acquires the right to emit a Status event for the scheduling resource.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/runtime/traceruntime.go

    }
    
    // GCMarkAssistDone emits a MarkAssistEnd event.
    func (tl traceLocker) GCMarkAssistDone() {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvGCMarkAssistEnd)
    }
    
    // GoCreate emits a GoCreate event.
    func (tl traceLocker) GoCreate(newg *g, pc uintptr, blocked bool) {
    	newg.trace.setStatusTraced(tl.gen)
    	ev := traceEvGoCreate
    	if blocked {
    		ev = traceEvGoCreateBlocked
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. pkg/volume/util/subpath/subpath_linux.go

    			klog.V(4).Infof("Directory %s already exists", pathname)
    			return nil
    		}
    		return &os.PathError{Op: "mkdir", Path: pathname, Err: syscall.ENOTDIR}
    	}
    
    	// Find all existing directories
    	existingPath, toCreate, err := findExistingPrefix(base, pathname)
    	if err != nil {
    		return fmt.Errorf("error opening directory %s: %s", pathname, err)
    	}
    	// Ensure the existing directory is inside allowed base
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  10. src/internal/trace/event/go122/event.go

    		IsTimedEvent: true,
    	},
    	EvProcStatus: event.Spec{
    		Name:         "ProcStatus",
    		Args:         []string{"dt", "p", "pstatus"},
    		IsTimedEvent: true,
    	},
    	EvGoCreate: event.Spec{
    		Name:         "GoCreate",
    		Args:         []string{"dt", "new_g", "new_stack", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{3, 2},
    	},
    	EvGoCreateSyscall: event.Spec{
    		Name:         "GoCreateSyscall",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top