Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1791 - 1800 of 6,241 for If (0.03 sec)

  1. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Boolean) {
                return (Boolean) o;
            } else if (o instanceof Number) {
                final int num = ((Number) o).intValue();
                return num != 0;
            } else if (o instanceof String) {
                final String s = (String) o;
                if ("true".equalsIgnoreCase(s)) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            parentThread.setDaemon(daemon);
            parentThread.start();
            if (!background) {
                awaitTermination();
            }
            return crawlerContext.sessionId;
        }
    
        public void awaitTermination() {
            awaitTermination(0);
        }
    
        public void awaitTermination(final long millis) {
            if (parentThread != null) {
                try {
                    parentThread.join(millis);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. istioctl/pkg/proxystatus/proxystatus_test.go

    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception for 'istioctl %s': %v", strings.Join(c.args, " "), fErr)
    		}
    	}
    }
    
    func init() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            }
    
            return result;
        }
        public int available() throws IOException {
            if( file.log.level >= 3 )
                file.log.println( "Named Pipe available() does not apply to TRANSACT Named Pipes" );
            return 0;
        }
        int receive( byte[] b, int off, int len ) {
            int i;
    
            if( len > ( pipe_buf.length - used )) {
                byte[] tmp;
                int new_size;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  5. .github/workflows/codeql-analysis.yml

            GRADLE_OPTS: -Dhttp.keepAlive=false
    
        - name: Compile with Gradle without Build Scan
          if: ${{ matrix.language == 'java' && github.repository_owner != 'gradle' }}
          run: ./gradlew --init-script .github/workflows/codeql-analysis.init.gradle -S testClasses
    
        - name: Cleanup Gradle Daemons
          run: ./gradlew --stop
          if: ${{ matrix.language == 'java' }}
    
        # ℹ️ Command-line programs to run using the OS shell.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/archive/tar/example_test.go

    			Size: int64(len(file.Body)),
    		}
    		if err := tw.WriteHeader(hdr); err != nil {
    			log.Fatal(err)
    		}
    		if _, err := tw.Write([]byte(file.Body)); err != nil {
    			log.Fatal(err)
    		}
    	}
    	if err := tw.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	// Open and iterate through the files in the archive.
    	tr := tar.NewReader(&buf)
    	for {
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MimeMap.java

                    case ST_START:
                        if( ch == ' ' || ch == '\t' ) {
                            break;
                        } else if( ch == '#' ) {
                            state = ST_COMM;
                            break;
                        }
                        state = ST_TYPE;
                    case ST_TYPE:
                        if( ch == ' ' || ch == '\t' ) {
                            state = ST_GAP;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  8. cmd/common-main_test.go

    			if err != nil {
    				t.Error(err)
    			}
    			tmpfile.WriteString(testCase.content)
    			tmpfile.Sync()
    			tmpfile.Close()
    
    			value, err := readFromSecret(tmpfile.Name())
    			if err != nil && !testCase.expectedErr {
    				t.Error(err)
    			}
    			if err == nil && testCase.expectedErr {
    				t.Error(errors.New("expected error, found success"))
    			}
    			if value != testCase.expectedValue {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api.h

                                                      TF_Status* status);
    
    // Returns the device of the operation that produced `h`. If `h` was produced by
    // a copy, returns the destination device of the copy. Note that the returned
    // device name is not always the device holding the tensor handle's memory. If
    // you want the latter, use TFE_TensorHandleBackingDeviceName. This function
    // will block till the operation that produces `h` has completed.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/rpc.java

                this.clock_seq_low = (byte) _src.dec_ndr_small();
                int _nodes = 6;
                int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if ( this.node == null ) {
                    if ( _nodes < 0 || _nodes > 0xFFFF )
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    this.node = new byte[_nodes];
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top