Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 2,900 for xtrue (0.03 sec)

  1. cmd/iam-store.go

    			return true
    		})
    
    		// update group policy map
    		cache.iamGroupPolicyMap.Range(func(g string, mp MappedPolicy) bool {
    			pset := mp.policySet()
    			if !pset.Contains(policy) {
    				return true
    			}
    			pset.Remove(policy)
    			cache.iamGroupPolicyMap.Store(g, newMappedPolicy(strings.Join(pset.ToSlice(), ",")))
    			return true
    		})
    
    		cache.updatedAt = time.Now()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
            // Arrange: stub to return true regardless of input
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act
            boolean result = handle.hasCapability(cap);
    
            // Assert: verify return and the captured argument equals input
            assertTrue(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ResourceManagerTest.java

        @BeforeEach
        void setUp() {
            resourceManager = ResourceManager.getInstance();
            // Configure with shorter intervals for testing
            resourceManager.configure(1000, 100, true, true);
        }
    
        /**
         * Test resource for tracking
         */
        static class TestResource implements AutoCloseable {
            private final AtomicBoolean closed = new AtomicBoolean(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            SmbPipeInputStream stream = newStreamWithMinimalStubs(true);
    
            // Arrange mocks for available()
            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(config);
            when(config.getTransactionBufferSize()).thenReturn(65535);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Monitor.java

              } catch (InterruptedException interrupt) {
                interrupted = true;
                remainingNanos = remainingNanos(startTime, timeoutNanos);
              }
            }
          }
    
          boolean satisfied = false;
          try {
            while (true) {
              try {
                if (guard.isSatisfied()) {
                  satisfied = true;
                } else {
                  long remainingNanos;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

         */
        public void testSetXIncludeAware() throws Exception {
            final SAXParserFactory spf = SAXParserFactoryUtil.newInstance();
            SAXParserFactoryUtil.setXIncludeAware(spf, true);
            spf.setNamespaceAware(true);
            final SAXParser parser = SAXParserFactoryUtil.newSAXParser(spf);
    
            final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/include.xml"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. tests/upsert_test.go

    func TestUpsert(t *testing.T) {
    	lang := Language{Code: "upsert", Name: "Upsert"}
    	if err := DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&lang).Error; err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	lang2 := Language{Code: "upsert", Name: "Upsert"}
    	if err := DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&lang2).Error; err != nil {
    		t.Fatalf("failed to upsert, got %v", err)
    	}
    
    	var langs []Language
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          monitor.leave();
        }
      }
    
      /**
       * Returns {@code true} if this queue contains the specified element. More formally, returns
       * {@code true} if and only if this queue contains at least one element {@code e} such that {@code
       * o.equals(e)}.
       *
       * @param o object to be checked for containment in this queue
       * @return {@code true} if this queue contains the specified element
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.contains("2"), is(not(true)));
            assertThat(list.contains(null), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            list.addLast(null);
            list.addLast("1");
            list.addLast("2");
            assertThat(list.remove("3"), is(not(true)));
            assertThat(list.remove("1"), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                            // only try to logoff if we have not completed the session setup, ignore errors from chained
                            // responses
                            logoff(true, true);
                        }
                        throw se;
                    } finally {
                        trans.notifyAll();
                    }
                }
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top