Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setEnum (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy

                throw new RuntimeException("Not used");
            }
    
            TestEnum anEnum
    
            @Option(option = "someEnum", description = "some enum value.")
            public void setEnum(TestEnum anEnum) {
                this.anEnum = anEnum;
            }
    
            @TaskAction
            public void dummy() {}
        }
    
        public static class SomeOtherTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:36 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  2. src/crypto/internal/hpke/hpke_test.go

    					seqNum, err := strconv.Atoi(enc["sequence number"])
    					if err != nil {
    						t.Fatal(err)
    					}
    					context.seqNum = uint128{lo: uint64(seqNum)}
    					expectedNonce := mustDecodeHex(t, enc["nonce"])
    					// We can't call nextNonce, because it increments the sequence number,
    					// so just compute it directly.
    					computedNonce := context.seqNum.bytes()[16-context.aead.NonceSize():]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy

            info.setState(state)
            registry.store(info)
            return info
        }
    
        private static Address createAddress(int i) {
            new Address() {
                int getNum() { i }
                String getDisplayName() { getNum() }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. src/debug/pe/symbols_test.go

    			name:   ".rdata$.refptr.__native_startup_lock",
    			ok:     true,
    			auxstr: "{Size:8 NumRelocs:1 NumLineNumbers:0 Checksum:0 SecNum:16 Selection:2 _:[0 0 0]}",
    		},
    		81: testpoint{
    			name:   ".debug_line",
    			ok:     true,
    			auxstr: "{Size:994 NumRelocs:1 NumLineNumbers:0 Checksum:1624223678 SecNum:32 Selection:0 _:[0 0 0]}",
    		},
    		155: testpoint{
    			name: ".file",
    			ok:   false,
    			err:  "incorrect symbol storage class",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 18:07:48 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. src/crypto/internal/hpke/hpke.go

    }
    
    func (s *Sender) nextNonce() []byte {
    	nonce := s.seqNum.bytes()[16-s.aead.NonceSize():]
    	for i := range s.baseNonce {
    		nonce[i] ^= s.baseNonce[i]
    	}
    	// Message limit is, according to the RFC, 2^95+1, which
    	// is somewhat confusing, but we do as we're told.
    	if s.seqNum.bitLen() >= (s.aead.NonceSize()*8)-1 {
    		panic("message limit reached")
    	}
    	s.seqNum = s.seqNum.addOne()
    	return nonce
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            });
            th.start();
    
            SuggestResponse response = deferred.promise().getResponse(10, TimeUnit.SECONDS);
            assertEquals(0, response.getNum());
        }
    
        @Test
        public void test_getResponseAfterResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

                return { connection } as ConnectCompletion
            }
        }
    
        def createAddress(int i) {
            new Address() {
                int getNum() { i }
    
                String getDisplayName() { getNum() }
            }
        }
    
        def createConnector() {
            def connector = Spy(DefaultDaemonConnector, constructorArgs: [
                    new EmbeddedDaemonRegistry(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/crypto/x509/oid.go

    	firstComponent.Add(firstComponent, second)
    
    	der := appendBase128BigInt(make([]byte, 0, 32), firstComponent)
    
    	for nextComponentExists {
    		var strNum string
    		strNum, oid, nextComponentExists = strings.Cut(oid, ".")
    		b, ok := big.NewInt(0).SetString(strNum, 10)
    		if !ok {
    			return errInvalidOID
    		}
    		der = appendBase128BigInt(der, b)
    	}
    
    	o.der = der
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top