Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Lm (0.44 sec)

  1. internal/lsync/lrwmutex.go

    		if lm.isWriteLock && lm.ref == 1 {
    			lm.ref = 0
    			lm.isWriteLock = false
    			unlocked = true
    		}
    	} else {
    		if !lm.isWriteLock {
    			if lm.ref > 0 {
    				lm.ref--
    				unlocked = true
    			}
    		}
    	}
    
    	return unlocked
    }
    
    // ForceUnlock will forcefully clear a write or read lock.
    func (lm *LRWMutex) ForceUnlock() {
    	lm.mu.Lock()
    	defer lm.mu.Unlock()
    
    	lm.ref = 0
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/data_test.go

    	"internal/buildcfg"
    	"testing"
    )
    
    func setUpContext(arch *sys.Arch, iself bool, ht objabi.HeadType, bm, lm string) *Link {
    	ctxt := linknew(arch)
    	ctxt.HeadType = ht
    	er := loader.ErrorReporter{}
    	ctxt.loader = loader.NewLoader(0, &er)
    	ctxt.BuildMode.Set(bm)
    	ctxt.LinkMode.Set(lm)
    	ctxt.IsELF = iself
    	ctxt.mustSetHeadType()
    	ctxt.setArchSyms()
    	return ctxt
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 19:20:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. test/typeparam/issue48962.dir/b.go

    	lP[P any]               *P
    	lM[K comparable, V any] map[K]V
    )
    
    // local cycles
    type (
    	A  lA[A]            // ERROR "invalid recursive type"
    	S  lS[S]            // ERROR "invalid recursive type"
    	P  lP[P]            // ok (indirection through lP)
    	M1 lM[int, M1]      // ok (indirection through lM)
    	M2 lM[lA[byte], M2] // ok (indirection through lM)
    
    	A2 lA[lS[lP[A2]]] // ok (indirection through lP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/lease_manager_test.go

    		ttl      int64
    		duration int64
    	}{
    		{
    			ttl:      3600,
    			duration: 60,
    		},
    		{
    			ttl:      1000,
    			duration: 50,
    		},
    	}
    	lm := newDefaultLeaseManager(nil, NewDefaultLeaseManagerConfig())
    	for i := 0; i < len(testCases); i++ {
    		dur := lm.getReuseDurationSecondsLocked(testCases[i].ttl)
    		if dur != testCases[i].duration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 11 13:22:07 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Lmhosts.java

            NbtAddress result = null;
    
            try {
                if( FILENAME != null ) {
                    File f = new File( FILENAME );
                    long lm;
    
                    if(( lm = f.lastModified() ) > lastModified ) {
                        lastModified = lm;
                        TAB.clear();
                        alt = 0;
                        populate( new FileReader( f ));
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

                };
            }
            else if ( config.getMaximumVersion().isSMB2() ) {
                this.dialects = new String[] {
                    "NT LM 0.12", "SMB 2.???", "SMB 2.002"
                };
            }
            else {
                this.dialects = new String[] {
                    "NT LM 0.12"
                };
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  7. pkg/api/testing/meta_test.go

    				}
    				lm, isLM := obj.(meta.ListMetaAccessor)
    				om, isOM := obj.(metav1.ObjectMetaAccessor)
    				switch {
    				case isLM && isOM:
    					t.Errorf("%v (%v) implements ListMetaAccessor and ObjectMetaAccessor", gv.WithKind(kind), knownType)
    					continue
    				case isLM:
    					m := lm.GetListMeta()
    					if m == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  8. cmd/data-scanner-metric.go

    		m.LastMinute.ILM = make(map[string]madmin.TimedAction, len(m.LifeTimeILM))
    		for i := lifecycle.NoneAction + 1; i < lifecycle.ActionCount; i++ {
    			lm := p.lastMinuteActions(i)
    			if lm.N > 0 {
    				m.LastMinute.ILM[i.String()] = madmin.TimedAction{Count: uint64(lm.N), AccTime: uint64(lm.Total)}
    			}
    		}
    		if len(m.LastMinute.ILM) == 0 {
    			m.LastMinute.ILM = nil
    		}
    	}
    	return m
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.UnsupportedEncodingException;
    
    class SmbComNegotiate extends ServerMessageBlock {
    
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        SmbComNegotiate() {
            command = SMB_COM_NEGOTIATE;
            flags2 = DEFAULT_FLAGS2;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Lmhosts.java

                    File f = new File(tc.getConfig().getLmHostsFileName());
                    long lm;
    
                    if ( ( lm = f.lastModified() ) > this.lastModified ) {
                        if ( log.isDebugEnabled() ) {
                            log.debug("Reading " + tc.getConfig().getLmHostsFileName());
                        }
                        this.lastModified = lm;
                        this.table.clear();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
Back to top